]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
incorporating feedback; updating .pre-commit-config.yaml to head due to pre-commit...
authorzeeeeb <z3eee3b@gmail.com>
Thu, 16 Jun 2022 15:44:48 +0000 (09:44 -0600)
committerzeeeeb <z3eee3b@gmail.com>
Thu, 16 Jun 2022 15:48:32 +0000 (09:48 -0600)
.pre-commit-config.yaml
doc/build/changelog/unreleased_20/7156.rst [moved from doc/build/changelog/unreleased_14/7156.rst with 100% similarity]
doc/build/dialects/postgresql.rst
test/dialect/postgresql/test_types.py

index b888441fd470d6183cdf218aacba9d1cf43ab924..8da5beadf6af2e6a543e140a2b56ef11483efe37 100644 (file)
@@ -2,12 +2,12 @@
 # See https://pre-commit.com/hooks.html for more hooks
 repos:
 -   repo: https://github.com/python/black
-    rev: 21.12b0
+    rev: 22.3.0
     hooks:
     -   id: black
 
 -   repo: https://github.com/sqlalchemyorg/zimports
-    rev: v0.5.0
+    rev: v0.6.0
     hooks:
     -   id: zimports
 
@@ -18,7 +18,7 @@ repos:
         additional_dependencies:
           - flake8-import-order
           - flake8-builtins
-          - flake8-future-annotations
+          - flake8-future-annotations>=0.0.5
           - flake8-docstrings>=1.6.0
           - flake8-rst-docstrings
           # flake8-rst-docstrings dependency, leaving it here
@@ -28,4 +28,3 @@ repos:
 
 
 
-
index eedccd496450b39b85760dadc039f97bf62f8403..852a9cdba2112f5336b6b2f751f110b73d29894a 100644 (file)
@@ -155,7 +155,7 @@ For example:
   )
 
 MultiRange Types
-~~~~~~~~~~~
+~~~~~~~~~~~~~~~~
 
 The new MultiRange column types found in PostgreSQL 14 onwards are
 catered for by the following types:
@@ -186,12 +186,12 @@ mixin:
 
 .. warning::
 
-  The multirange type DDL is currently only supported by the
-  psycopg (a.k.a psycopg3) PostgreSQL DBAPI driver.
+  The multirange type DDL support should work with any PostgreSQL DBAPI
+  driver, however the data types returned may vary.
 
 When instantiating models that use these column types, you should pass
 whatever data type is expected by the DBAPI driver you're using for
-the column type. 
+the column type.
 
 For example:
 
index e865488516e79c22e00259cd49f7543410905332..4c7ca61dc1ad201c1941f3ecdc7f9846f5e36666 100644 (file)
@@ -3681,7 +3681,6 @@ class DateTimeTZRangeRoundTripTest(_DateTimeTZRangeTests, _RangeTypeRoundTrip):
 
 
 class _MultiRangeTypeCompilation(AssertsCompiledSQL, fixtures.TestBase):
-    __requires__ = "range_types", "psycopg_only_compatibility"
     __dialect__ = "postgresql"
 
     # operator tests