1
Fork 0

fix: migrate ruff.toml to lint section and add pytest to dev dependencies

This commit is contained in:
Tibo De Peuter 2026-03-21 16:42:34 +01:00
parent 2e0cf2bf7b
commit 844cf78c89
Signed by: tdpeuter
GPG key ID: 38297DE43F75FFE2
2 changed files with 4 additions and 2 deletions

View file

@ -24,5 +24,6 @@ cuda = [
[dependency-groups]
dev = [
"pre-commit>=4.0.0",
"pytest>=8.0.0",
"ruff>=0.15.2",
]

View file

@ -1,3 +1,4 @@
[lint]
extend-select = [
# "PLC0103", # invalid-name
# "PLC0104", # disallowed-name
@ -43,7 +44,7 @@ extend-select = [
"PLC2801", # unnecessary-dunder-call
# "PLC3001", # unnecessary-lambda-assignment
"PLC3002", # unnecessary-direct-lambda-call
"E999", # syntax-error
# "E999", # syntax-error (removed from ruff)
# "PLE0011", # unrecognized-inline-option
# "PLE0013", # bad-plugin-value
# "PLE0014", # bad-configuration-section
@ -298,7 +299,7 @@ extend-select = [
# "PLW4906", # deprecated-attribute
]
ignore = [
extend-ignore = [
# "PLC0116", # missing-function-docstring
# "PLC0200", # consider-using-enumerate
# "PLC0305", # trailing-newlines