mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-06-29 05:56:14 +02:00
Update dependency ruff to v0.6.8 (#1900)
* Update dependency ruff to v0.6.8 * Run `ruff check .` instead of `ruff .` due to ruff error * Preface ruff lint keys with .lint to address ruff deprecation warning * Changes to appease ruff linter --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Micah Jerome Ellison <micah.jerome.ellison@gmail.com>
This commit is contained in:
parent
4d84c491f1
commit
17e1ba60e5
5 changed files with 29 additions and 28 deletions
|
@ -91,7 +91,7 @@ lint.sequence = [
|
|||
"poetry --version",
|
||||
"poetry check",
|
||||
"ruff --version",
|
||||
"ruff .",
|
||||
"ruff check .",
|
||||
"black --version",
|
||||
"black --check ."
|
||||
]
|
||||
|
@ -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
Add a link
Reference in a new issue