Skip to content

Commit 576119a

Browse files
committed
Black and Ruff infer target-version from requires-python in pyproject.toml
1 parent c97d2e4 commit 576119a

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

.pre-commit-config.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ repos:
99
rev: 23.10.1
1010
hooks:
1111
- id: black
12-
args: [--target-version=py38]
1312

1413
- repo: https://github.com/PyCQA/bandit
1514
rev: 1.7.5

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ package-dir = {"" = "src"}
7878
version = {attr = "PIL.__version__"}
7979

8080
[tool.ruff]
81-
target-version = "py38"
8281
line-length = 88
8382
select = [
8483
"E", # pycodestyle errors

0 commit comments

Comments
 (0)