]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Revert 1ed2f162151 black target version
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 27 Jun 2019 20:28:06 +0000 (16:28 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 27 Jun 2019 20:28:06 +0000 (16:28 -0400)
Unfortunately target version py27 makes Black want to break
print functions, even if you put a "from __future__ import print_function"
at the top, so it is being inconsistent in its "we've decided this
is a python 2 file" logic and basically this thing really needs
command line arguments

Change-Id: Iefa62df4224b9620e764b16b1c390647f948e85f

.pre-commit-config.yaml

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