project: Extend ruff with pyupgrade checks
Check for deprecated usages in the project when running ruff check. Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
This commit is contained in:
parent
26d92b75c6
commit
53419128f0
|
@ -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
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue