Skip to content

Commit

Permalink
project: Extend ruff with pyupgrade checks
Browse files Browse the repository at this point in the history
Check for deprecated usages in the project when running ruff check.

Signed-off-by: Pieter De Gendt <[email protected]>
  • Loading branch information
pdgendt committed Nov 4, 2024
1 parent 2f220f7 commit 39c0493
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,11 @@ include-package-data = true
[tool.setuptools.packages.find]
where = ["src"]
namespaces = false

[tool.ruff.lint]
extend-select = [
"UP", # pyupgrade
]
ignore = [
"UP027", # deprecated pyupgrade rule
]

0 comments on commit 39c0493

Please sign in to comment.