From 1ed2f1621510b48a6c46bedf3dd579c56bd89ccb Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Mon, 24 Jun 2019 13:20:26 -0400 Subject: [PATCH] Disable black auto-version detection We're targeting Python 2.7 still so ensure black does not add trailing commas Change-Id: I9896b3a71de855d834f0133fd2d6213aae40fc9d --- .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 f9b217e552..e11efe17b7 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] + args: [-l 79, --target-version=py27] - repo: https://github.com/sqlalchemyorg/zimports/ rev: master -- 2.47.2