Skip to content

Commit 3d05008

Browse files
committed
[FIX] Evitar conflito entre a validação feita pelo Black e Flake8 sobre o E203.
1 parent 93c47bf commit 3d05008

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

setup.cfg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ universal = 1
55
[flake8]
66
max-line-length = 140
77
exclude = */migrations/*
8+
# Conflito entre o Black e Flake8
9+
# https://black.readthedocs.io/en/stable/the_black_code_style/current_style.html#slices
10+
# This behaviour may raise E203 whitespace before ':' warnings in style guide enforcement tools like Flake8. Since E203 is not PEP 8 compliant, you should tell Flake8 to ignore these warnings.
11+
extend-ignore = E203
812

913
[tool:pytest]
1014
testpaths = tests

0 commit comments

Comments
 (0)