Black and Ruff infer target-version from requires-python in pyproject.toml

This commit is contained in:
Hugo van Kemenade 2023-11-07 09:29:33 +02:00
parent c97d2e4c59
commit 576119ae9d
2 changed files with 0 additions and 2 deletions

View File

@ -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

View File

@ -78,7 +78,6 @@ package-dir = {"" = "src"}
version = {attr = "PIL.__version__"}
[tool.ruff]
target-version = "py38"
line-length = 88
select = [
"E", # pycodestyle errors