refactor: pass Ruff lint rules

This commit is contained in:
Nathaniel Landau
2023-02-03 13:32:19 -05:00
parent 90b737f7b3
commit 0de95a4be4
10 changed files with 60 additions and 41 deletions

View File

@@ -75,6 +75,7 @@
]
ignore-init-module-imports = true
line-length = 100
per-file-ignores = { "cli.py" = ["PLR0913"] }
select = [
"A",
"B",
@@ -207,7 +208,7 @@
help = "Lint this package"
[[tool.poe.tasks.lint.sequence]]
shell = "ruff --extend-ignore=I001,D301,D401,PLR2004,PLR0913 src/ tests/"
shell = "ruff --extend-ignore=I001,D301,D401,PLR2004,PLR0913 src/"
[[tool.poe.tasks.lint.sequence]]
shell = "black --check src/ tests/"