From 2a6bbe08917071541ccaa3b23d1ab503750cbc92 Mon Sep 17 00:00:00 2001 From: J08nY Date: Sat, 9 Jul 2022 12:27:17 +0200 Subject: Fix pre-commit setup. Use the "--target-version" option of black to force a python38 codestyle instead (using a language_version in the pre-commit hook had no bearing on black anyway). --- .pre-commit-config.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 86f12c59..5ae8c524 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,8 +3,7 @@ repos: rev: 22.1.0 hooks: - id: black - language_version: python3.8 - args: ['--check'] + args: ['--check', '--target-version', 'py38'] - repo: https://github.com/pycqa/isort rev: 5.10.1 hooks: -- cgit v1.3.1