mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-05-31 03:03:09 +03:00
Merge pull request #106 from radarhere/infer-target-version
Black infers target-version from requires-python in pyproject.toml
This commit is contained in:
commit
c3fb0de43f
2
Makefile
2
Makefile
|
@ -118,6 +118,6 @@ lint:
|
||||||
.PHONY: lint-fix
|
.PHONY: lint-fix
|
||||||
lint-fix:
|
lint-fix:
|
||||||
python3 -c "import black" > /dev/null 2>&1 || python3 -m pip install black
|
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 -c "import ruff" > /dev/null 2>&1 || python3 -m pip install ruff
|
||||||
python3 -m ruff --fix .
|
python3 -m ruff --fix .
|
||||||
|
|
Loading…
Reference in New Issue
Block a user