started ruff rules

This commit is contained in:
John Lancaster
2026-02-21 10:05:55 -06:00
parent 8f84bda31d
commit 9efff690cf

View File

@@ -37,3 +37,23 @@ addopts = [
"--strict-markers", "--strict-markers",
"--strict-config", "--strict-config",
] ]
[tool.ruff]
line-length = 120
target-version = "py312"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"SIM", # flake8-simplify
]
ignore = []
[tool.ruff.lint.isort]
known-first-party = ["daglib"]