configure ruff, separate hydraJobs from other derivations
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
@ -23,6 +23,39 @@ flake-update-diff = "flupdt.main:main"
|
||||
[tool.poetry.group.dev.dependencies]
|
||||
ruff = "0.5.5"
|
||||
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry-core"]
|
||||
build-backend = "poetry.core.masonry.api"
|
||||
|
||||
[tool.ruff]
|
||||
|
||||
line-length = 100
|
||||
indent-width = 4
|
||||
|
||||
target-version = "py39"
|
||||
|
||||
[tool.ruff.lint]
|
||||
select = ["ALL"]
|
||||
ignore = [
|
||||
"ANN101", # (perm) this rule is deprecated
|
||||
"ANN102", # (perm) this rule is deprecated
|
||||
"G004", # (perm) this is a performance nit
|
||||
]
|
||||
|
||||
[tool.ruff.lint.per-file-ignores]
|
||||
|
||||
"tests/**" = [
|
||||
"S101", # (perm) pytest needs asserts
|
||||
]
|
||||
|
||||
fixable = ["ALL"]
|
||||
|
||||
[tool.ruff.lint.pydocstyle]
|
||||
convention = "google"
|
||||
|
||||
[tool.ruff.lint.pycodestyle]
|
||||
max-line-length = 120
|
||||
|
||||
[tool.ruff.lint.pylint]
|
||||
max-args = 9
|
||||
|
Reference in New Issue
Block a user