mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-12 18:26:17 +03:00
Black and Ruff infer target-version from requires-python in pyproject.toml
This commit is contained in:
parent
c97d2e4c59
commit
576119ae9d
|
@ -9,7 +9,6 @@ repos:
|
||||||
rev: 23.10.1
|
rev: 23.10.1
|
||||||
hooks:
|
hooks:
|
||||||
- id: black
|
- id: black
|
||||||
args: [--target-version=py38]
|
|
||||||
|
|
||||||
- repo: https://github.com/PyCQA/bandit
|
- repo: https://github.com/PyCQA/bandit
|
||||||
rev: 1.7.5
|
rev: 1.7.5
|
||||||
|
|
|
@ -78,7 +78,6 @@ package-dir = {"" = "src"}
|
||||||
version = {attr = "PIL.__version__"}
|
version = {attr = "PIL.__version__"}
|
||||||
|
|
||||||
[tool.ruff]
|
[tool.ruff]
|
||||||
target-version = "py38"
|
|
||||||
line-length = 88
|
line-length = 88
|
||||||
select = [
|
select = [
|
||||||
"E", # pycodestyle errors
|
"E", # pycodestyle errors
|
||||||
|
|
Loading…
Reference in New Issue
Block a user