From b0cacfdd4f380cf7e9e3d91458868733bf81f366 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Thu, 27 Jun 2019 16:28:06 -0400 Subject: [PATCH] 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 --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.2