started ruff rules
This commit is contained in:
@@ -37,3 +37,23 @@ addopts = [
|
||||
"--strict-markers",
|
||||
"--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"]
|
||||
|
||||
Reference in New Issue
Block a user