Skip to content

Commit

Permalink
MAINT: add more Ruff ignores
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer committed Jul 3, 2023
1 parent 9bb4899 commit bdcab5e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/repoma/check_dev_files/ruff.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ def _update_ruff_settings() -> None:
"D213", # multi-line docstring should start at the second line
"D407", # missing dashed underline after section
"D416", # section name does not have to end with a colon
"E501", # line-width already handled by black
"SIM108", # allow if-else blocks
]
ignores = sorted({*settings.get("ignore", []), *extend_ignore})
minimal_settings = {
Expand Down

0 comments on commit bdcab5e

Please sign in to comment.