]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Fix rst for flake8-rst-docstrings-0.0.12
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 22 Nov 2019 16:08:37 +0000 (11:08 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 22 Nov 2019 16:08:37 +0000 (11:08 -0500)
A few new formatting errors are caught by this version.

Change-Id: I737b33267a00f400b7ba7696a03ddb07a4c95bc0

lib/sqlalchemy/engine/result.py
lib/sqlalchemy/sql/base.py
test/orm/test_deferred.py

index 004a84da55e463845ae2f88ff5fecdfd87c15672..11d069c88c62703b365fff9e35ab4dce17c1f115 100644 (file)
@@ -6,7 +6,7 @@
 # the MIT License: http://www.opensource.org/licenses/mit-license.php
 
 """Define result set constructs including :class:`.ResultProxy`
-and :class:`.Row."""
+and :class:`.Row`."""
 
 
 import collections
index d11a3a31397ab4c30468a29ee449f140c9f01a36..ce7fab5b0be0e96c8b43a37b612ae1453656709b 100644 (file)
@@ -822,14 +822,14 @@ class ColumnCollection(object):
 
 
 class DedupeColumnCollection(ColumnCollection):
-    """A :class:`.ColumnCollection that maintains deduplicating behavior.
+    """A :class:`.ColumnCollection` that maintains deduplicating behavior.
 
     This is useful by schema level objects such as :class:`.Table` and
     :class:`.PrimaryKeyConstraint`.    The collection includes more
     sophisticated mutator methods as well to suit schema objects which
     require mutable column collections.
 
-    .. versionadded: 1.4
+    .. versionadded:: 1.4
 
     """
 
index 4f76fdc039ebcc7b628a07b3ff628f92c4abc2ba..0b95c324d794e9c2731108639aab8a23ae7d9926 100644 (file)
@@ -989,7 +989,7 @@ class DeferredOptionsTest(AssertsCompiledSQL, _fixtures.FixtureTest):
         eq_(item.description, "item 4")
 
     def test_path_entity(self):
-        """test the legacy *addl_attrs argument."""
+        r"""test the legacy \*addl_attrs argument."""
 
         User = self.classes.User
         Order = self.classes.Order