|
1 | 1 | [flake8] |
2 | | -ignore = E203,E231,E501,I100,I201,I202,D102,D100,C901,D104,D101,D105,D107,D400,D103,D205,W503,E402,E266,F841 |
3 | | -# E203 whitespace before ':'. Conflicts with how Black formats slicing. |
4 | | -# E231 missing whitespace after ',', ';', or ':'. Conflicts with Black. |
5 | | -# E501 line too long (82 > 79 characters). Ignored because max-line-length is set. |
6 | | -# I100 Import statements are in the wrong order. |
7 | | -# I201 Missing newline between import groups. |
8 | | -# I202 Additional newline in a group of imports. |
9 | | -# D102 Missing docstring in public method. |
10 | | -# D100 Missing docstring in public module. |
11 | | -# C901 function is too complex. Ignored because max-complexity is set. |
12 | | -# D104 Missing docstring in public package. |
13 | | -# D101 Missing docstring in public class. |
14 | | -# D105 Missing docstring in magic method. |
15 | | -# D107 Missing docstring in __init__. |
16 | | -# D400 First line should end with a period. |
17 | | -# D103 Missing docstring in public function. |
18 | | -# D205 1 blank line required between summary line and description. |
19 | | -# W503 line break before binary operator. This is no longer PEP 8 compliant. |
20 | | -# E402 module level import not at top of file. |
21 | | -# E266 too many leading '#' for block comment. |
22 | | -# F841 local variable is assigned to but never used. |
| 2 | +ignore = |
| 3 | +# C901, # function is too complex. Ignored because max-complexity is set. |
| 4 | + D100, |
| 5 | + # Missing docstring in public module. |
| 6 | + D101, |
| 7 | + # Missing docstring in public class. |
| 8 | + D102, |
| 9 | + # Missing docstring in public method. |
| 10 | + D103, |
| 11 | + # Missing docstring in public function. |
| 12 | + D104, |
| 13 | + # Missing docstring in public package. |
| 14 | + D105, |
| 15 | + # Missing docstring in magic method. |
| 16 | + D107, |
| 17 | + # Missing docstring in __init__. |
| 18 | + D205, |
| 19 | + # 1 blank line required between summary line and description. |
| 20 | + D400, |
| 21 | + # First line should end with a period. |
| 22 | + E203, |
| 23 | + # whitespace before ':'. Conflicts with how Black formats slicing. |
| 24 | + E231, |
| 25 | + # missing whitespace after ',', ';', or ':'. Conflicts with Black. |
| 26 | + E266, |
| 27 | + # too many leading '#' for block comment. |
| 28 | + E402, |
| 29 | + # module level import not at top of file. |
| 30 | + E501, |
| 31 | + # line too long (82 > 79 characters). Ignored because max-line-length is set. |
| 32 | + F841, |
| 33 | + # local variable is assigned to but never used. |
| 34 | + I100, |
| 35 | + # Import statements are in the wrong order. |
| 36 | + I201, |
| 37 | + # Missing newline between import groups. |
| 38 | + I202, |
| 39 | + # Additional newline in a group of imports. |
| 40 | + W503 |
| 41 | + # line break before binary operator. This is no longer PEP 8 compliant. |
23 | 42 |
|
24 | 43 | exclude = |
25 | 44 | .cache, |
26 | 45 | .coverage.*, |
27 | | - .env, # Environment directory used by some tools |
28 | | - .git, # Version control directory |
29 | | - .github, # GitHub metadata directory |
| 46 | + .env, |
| 47 | + .git, |
| 48 | + .github, |
30 | 49 | .gradle, |
31 | | - .hg, # Mercurial directory |
32 | | - .mypy_cache, # MyPy cache directory |
33 | | - .pytest_cache, # PyTest cache directory |
34 | | - .svn, # Subversion directory |
| 50 | + .hg, |
| 51 | + .mypy_cache, |
| 52 | + .pytest_cache, |
| 53 | + .svn, |
35 | 54 | .tox, |
36 | | - .venv, # Common virtual environment directory |
37 | | - .vscode, # VS Code configuration directory |
38 | | - *__pycache__, # Python cache directory |
| 55 | + .venv, |
| 56 | + .vscode, |
| 57 | + *__pycache__, |
39 | 58 | *.egg-info, |
40 | 59 | *.pyc, |
41 | 60 | build, |
42 | 61 | dist, |
43 | 62 | htmlcov.*, |
| 63 | + |
44 | 64 | # List of application-specific import names. |
45 | 65 | application-import-names = flake8 |
46 | 66 | # Import statement format style. |
|
0 commit comments