]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Disable black auto-version detection
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 24 Jun 2019 17:20:26 +0000 (13:20 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 24 Jun 2019 17:20:26 +0000 (13:20 -0400)
We're targeting Python 2.7 still so ensure black does not
add trailing commas

Change-Id: I9896b3a71de855d834f0133fd2d6213aae40fc9d

.pre-commit-config.yaml

index f9b217e552002c06a1cf7cee3645e10a95e12e0b..e11efe17b71e7e5f83f1a698fdf6842b1a0975bd 100644 (file)
@@ -5,7 +5,7 @@ repos:
     rev: 19.3b0
     hooks:
     -   id: black
-        args: [-l 79]
+        args: [-l 79, --target-version=py27]
 
 -   repo: https://github.com/sqlalchemyorg/zimports/
     rev: master