Skip to content

Commit

Permalink
Set Ruff target version to Python 3.11
Browse files Browse the repository at this point in the history
See:
https://beta.ruff.rs/docs/settings/#target-version
Otherwise, it moves `zoneinfo` import which also
clashes with Pylint.
astral-sh/ruff#6475
  • Loading branch information
jond01 committed Sep 1, 2023
1 parent 9650ab2 commit 7bd525f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ coverage = "^7.3.0"

[tool.ruff]
select = ["E", "F", "I"]
target-version = "py311"

[tool.pylint]
enable = ["I"]
Expand Down

0 comments on commit 7bd525f

Please sign in to comment.