add check for ruff

This commit is contained in:
shenjack 2023-12-03 16:29:04 +08:00
parent 8d00329130
commit 05ff66b117
Signed by: shenjack
GPG Key ID: 7B1134A979775551

View File

@ -67,6 +67,20 @@ src = [
"src",
]
[tool.ruff.lint]
select = [
"E", # pycodestyle
"F", # pyflakes
"I", # isort
"W", # pycodestyle
]
ignore = ["I001"]
[tool.ruff.lint.isort]
force-single-line = false
force-wrap-aliases = false
combine-as-imports = true
[tool.lndl.nuitka]
main = "test-only.py"
onefile = false