From: Mike Bayer Date: Thu, 27 Jun 2019 20:28:06 +0000 (-0400) Subject: Revert 1ed2f162151 black target version X-Git-Tag: rel_1_3_6~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eaba0a9d937e4931a42976ba805891844f8ff880;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Revert 1ed2f162151 black target version 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 (cherry picked from commit b0cacfdd4f380cf7e9e3d91458868733bf81f366) --- diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e11efe17b7..f9b217e552 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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