Black infers target-version from requires-python in pyproject.toml

This commit is contained in:
Andrew Murray 2023-11-11 16:49:04 +11:00
parent 576119ae9d
commit 548eeea488

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 .