From bfac4a4c60def6c62292a8dac740bc3653557f97 Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Wed, 2 Dec 2020 10:42:21 +0000 Subject: [PATCH] Use Python 3.6 for Black This prevents Black from using Python 3.7+ only syntax when you still support for Python 3.6. --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ee20ee2..dcabbf4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,5 +3,5 @@ repos: rev: 19.3b0 hooks: - id: black - language_version: python3.7 - exclude_types: ['markdown', 'ini', 'toml', 'rst'] \ No newline at end of file + language_version: python3.6 + exclude_types: ['markdown', 'ini', 'toml', 'rst']