Add ruff for linting and update configuration in pyproject.toml

This commit is contained in:
William Valentin
2025-07-28 09:50:03 -07:00
parent a633a00a85
commit 5a191a8fa0
3 changed files with 50 additions and 5 deletions

View File

@@ -16,4 +16,27 @@ dependencies = [
dev = [
"pre-commit>=4.2.0",
"pyinstaller>=6.14.2",
"ruff>=0.12.5",
]
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
]
[tool.ruff.format]
docstring-code-format = true
[tool.ruff.lint.pycodestyle]
max-line-length = 88