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