mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 08:38:32 +02:00
Preface ruff lint keys with .lint to address ruff deprecation warning
This commit is contained in:
parent
8a8c31134d
commit
ab78a09ccf
1 changed files with 3 additions and 3 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Reference in a new issue