mirror of
https://github.com/Garmelon/PFERD.git
synced 2026-04-12 07:25:04 +02:00
Reformat and switch to ruff
This commit is contained in:
parent
ee4625be78
commit
2cf0e060ed
31 changed files with 1507 additions and 587 deletions
|
|
@ -20,16 +20,29 @@ pferd = "PFERD.__main__:main"
|
|||
[tool.setuptools.dynamic]
|
||||
version = {attr = "PFERD.version.VERSION"}
|
||||
|
||||
[tool.flake8]
|
||||
max-line-length = 110
|
||||
[tool.ruff]
|
||||
line-length = 110
|
||||
|
||||
[tool.isort]
|
||||
line_length = 110
|
||||
|
||||
[tool.autopep8]
|
||||
max_line_length = 110
|
||||
in-place = true
|
||||
recursive = true
|
||||
[tool.ruff.lint]
|
||||
select = [
|
||||
# pycodestyle
|
||||
"E",
|
||||
# Pyflakes
|
||||
"F",
|
||||
# pyupgrade
|
||||
"UP",
|
||||
# flake8-bugbear
|
||||
"B",
|
||||
# flake8-simplify
|
||||
"SIM",
|
||||
# isort
|
||||
"I",
|
||||
]
|
||||
ignore = [
|
||||
"UP045",
|
||||
"SIM114",
|
||||
"B023"
|
||||
]
|
||||
|
||||
[tool.mypy]
|
||||
disallow_any_generics = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue