stricter Ruff rules, matching https://github.com/fjosw/pyerrors/pull/282
Some checks failed
Mypy / mypy (push) Successful in 1m11s
Pytest / pytest (3.12) (push) Successful in 1m19s
Pytest / pytest (3.13) (push) Successful in 1m12s
Pytest / pytest (3.14) (push) Successful in 1m15s
Ruff / ruff (push) Failing after 1m1s

This commit is contained in:
Justus Kuhlmann 2026-05-12 09:16:10 +02:00
commit 481558c5d7
Signed by: jkuhl
GPG key ID: 00ED992DD79B85A6

View file

@ -26,13 +26,17 @@ include = ["corrlib", "corrlib.*"]
[tool.setuptools_scm]
write_to = "corrlib/version.py"
[tool.ruff]
target-version = "py310"
[tool.ruff.lint]
ignore = ["E501"]
extend-select = [
"YTT",
"E",
"W",
"F",
extend-select = ["E", "W", "I", "B", "PIE", "PLE", "PLW", "UP", "NPY", "RUF"]
ignore = [
"F403", # star imports in __init__ files are intentional
"E501", # line too long
"PLC0415", # import outside top level
"PLW2901", # redefined loop name (too noisy)
"RUF002", # ambiguous unicode in docstrings (Greek letters)
]
[tool.mypy]