mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +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
|
||||
hooks:
|
||||
- id: black
|
||||
args: [--target-version=py38]
|
||||
|
||||
- repo: https://github.com/PyCQA/bandit
|
||||
rev: 1.7.5
|
||||
|
|
|
@ -78,7 +78,6 @@ package-dir = {"" = "src"}
|
|||
version = {attr = "PIL.__version__"}
|
||||
|
||||
[tool.ruff]
|
||||
target-version = "py38"
|
||||
line-length = 88
|
||||
select = [
|
||||
"E", # pycodestyle errors
|
||||
|
|
Loading…
Reference in New Issue
Block a user