mirror of
https://github.com/fjosw/pyerrors.git
synced 2026-05-13 16:46:52 +02:00
[chore] Furture lint rules and removal of flake8
This commit is contained in:
parent
c896843664
commit
d9ffa33b2c
14 changed files with 107 additions and 68 deletions
|
|
@ -6,5 +6,11 @@ build-backend = "setuptools.build_meta"
|
|||
target-version = "py310"
|
||||
|
||||
[tool.ruff.lint]
|
||||
extend-select = ["I", "B", "PLE", "UP"]
|
||||
ignore = ["F403", "E501", "PLC0415"]
|
||||
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)
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue