Skip to content

Commit

Permalink
Ignore ISC001 rule for now
Browse files Browse the repository at this point in the history
It gives a warning when running the Ruff formatter.

This rule can cause the linter and formatter to conflict, meaning you need to
rerun `ruff check --fix` again after `ruff format`.

See astral-sh/ruff#8272 (comment)
  • Loading branch information
StevenMaude committed Aug 22, 2024
1 parent b456b01 commit 1afe0eb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ extend-select = [
extend-ignore = [
"E501",
"E731",
# Remove ISC001 when https://github.com/astral-sh/ruff/issues/8272 is resolved.
"ISC001",
]

[tool.ruff.lint.per-file-ignores]
Expand Down

0 comments on commit 1afe0eb

Please sign in to comment.