mirror of https://github.com/Nezreka/SoulSync.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
546 B
19 lines
546 B
[tool.ruff]
|
|
target-version = "py311"
|
|
line-length = 160
|
|
|
|
[tool.ruff.lint]
|
|
# Start lenient — catch real bugs, not style nits
|
|
# E: pycodestyle errors, F: pyflakes, UP: pyupgrade, B: bugbear
|
|
select = ["F", "E9", "W6", "B"]
|
|
# Ignore rules that will flag too much in an existing codebase
|
|
ignore = [
|
|
"F401", # unused imports (too noisy initially)
|
|
"F841", # unused variables
|
|
"E501", # line length (handled by line-length setting)
|
|
]
|
|
|
|
[tool.ruff.lint.per-file-ignores]
|
|
# Tests can use assert, magic values, etc.
|
|
"tests/**" = ["B", "F"]
|