Preface ruff lint keys with .lint to address ruff deprecation warning

This commit is contained in:
Micah Jerome Ellison 2024-09-30 17:58:21 -07:00
parent 8a8c31134d
commit ab78a09ccf

View file

@ -130,7 +130,7 @@ line-length = 88
target-version = "py310"
# https://beta.ruff.rs/docs/rules/
select = [
lint.select = [
'F', # Pyflakes
'E', # pycodestyle errors
'W', # pycodestyle warnings
@ -149,11 +149,11 @@ select = [
]
exclude = [".git", ".tox", ".venv", "node_modules"]
[tool.ruff.isort]
[tool.ruff.lint.isort]
force-single-line = true
known-first-party = ["jrnl", "tests"]
[tool.ruff.per-file-ignores]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"] # unused imports
[build-system]