Skip to content

Commit

Permalink
Black and Ruff infer target-version from requires-python in pyproject…
Browse files Browse the repository at this point in the history
….toml
  • Loading branch information
hugovk committed Nov 7, 2023
1 parent c97d2e4 commit 576119a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ package-dir = {"" = "src"}
version = {attr = "PIL.__version__"}

[tool.ruff]
target-version = "py38"
line-length = 88
select = [
"E", # pycodestyle errors
Expand Down

0 comments on commit 576119a

Please sign in to comment.