Configure more lints and switch from black to ruff format

This commit is contained in:
link2xt
2024-05-06 13:02:10 +00:00
parent 462e92cca0
commit 879cffc056
27 changed files with 136 additions and 112 deletions

View File

@@ -16,7 +16,6 @@ dependencies = [
"build",
"tox",
"ruff",
"black",
"pytest",
"pytest-xdist",
"imap_tools",
@@ -31,3 +30,13 @@ cmdeploy = "cmdeploy.cmdeploy:main"
[tool.pytest.ini_options]
addopts = "-v -ra --strict-markers"
[tool.ruff]
lint.select = [
"F", # Pyflakes
"I", # isort
"PLC", # Pylint Convention
"PLE", # Pylint Error
"PLW", # Pylint Warning
]