Merge pull request #106 from radarhere/infer-target-version

Black infers target-version from requires-python in pyproject.toml
This commit is contained in:
Hugo van Kemenade 2023-11-11 08:48:13 +02:00 committed by GitHub
commit c3fb0de43f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -118,6 +118,6 @@ lint:
.PHONY: lint-fix
lint-fix:
python3 -c "import black" > /dev/null 2>&1 || python3 -m pip install black
python3 -m black --target-version py38 .
python3 -m black .
python3 -c "import ruff" > /dev/null 2>&1 || python3 -m pip install ruff
python3 -m ruff --fix .