Skip to content

Commit 7b0f8cd

Browse files
committed
Add links with explanations why certain rules are ignored
1 parent 652e8ff commit 7b0f8cd

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.prospector.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ pyroma:
1515
pep8:
1616
full: true
1717
# ignore rules that conflict with ruff formatter
18+
# E203: https://black.readthedocs.io/en/stable/the_black_code_style/current_style.html#slices
19+
# E501: https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
20+
# W503: https://pycodestyle.pycqa.org/en/latest/intro.html#error-codes
1821
disable: ['E203', 'E501', 'W503']
1922

2023
mypy:

setup.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ exclude_lines =
2323

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

2831
[pydocstyle]

0 commit comments

Comments
 (0)