Skip to content

Commit

Permalink
Add links with explanations why certain rules are ignored
Browse files Browse the repository at this point in the history
(cherry picked from commit 7b0f8cd)
  • Loading branch information
bouweandela authored and schlunma committed Sep 27, 2024
1 parent e4c887b commit 63e1e42
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .prospector.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ pyroma:
pep8:
full: true
# ignore rules that conflict with ruff formatter
# E203: https://black.readthedocs.io/en/stable/the_black_code_style/current_style.html#slices
# E501: https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
# W503: https://pycodestyle.pycqa.org/en/latest/intro.html#error-codes
disable: ['E203', 'E501', 'W503']

mypy:
Expand Down
3 changes: 3 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ exclude_lines =

[pycodestyle]
# ignore rules that conflict with ruff formatter
# E203: https://black.readthedocs.io/en/stable/the_black_code_style/current_style.html#slices
# E501: https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
# W503: https://pycodestyle.pycqa.org/en/latest/intro.html#error-codes
ignore = E203,E501,W503

[pydocstyle]
Expand Down

0 comments on commit 63e1e42

Please sign in to comment.