mirror of
https://github.com/natelandau/obsidian-metadata.git
synced 2025-11-19 10:23:39 -05:00
refactor: pass Ruff lint rules
This commit is contained in:
@@ -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/"
|
||||
|
||||
Reference in New Issue
Block a user