File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed
Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ [metadata]
2+ description_file = README.rst
3+
4+ # Recommended flake8 settings while editing zoom, we use Black for the final
5+ # linting/say in how code is formatted
6+ #
7+ # pip install flake8 flake8-bugbear
8+ #
9+ # This will warn/error on things that black does not fix, on purpose.
10+
11+ # This config file MUST be ASCII to prevent weird flake8 dropouts
12+
13+ [flake8]
14+ # About max-line-length setting:
15+ # Our homegrown autodoc has brain-dead line wrapping which forces long lines in docstrings
16+ max-line-length = 80
17+ max-complexity = 12
18+ select = E,F,W,C,B,B9
19+ ignore =
20+ # E123 closing bracket does not match indentation of opening bracket's line
21+ E123
22+ # E203 whitespace before ':' (Not PEP8 compliant, Python Black)
23+ E203
24+ # E501 line too long (82 > 79 characters) (replaced by B950 from flake8-bugbear,
25+ # https://github.com/PyCQA/flake8-bugbear)
26+ E501
27+ # W503 line break before binary operator (Not PEP8 compliant, Python Black)
28+ W503
29+ # W504 line break after binary operator (Not PEP8 compliant, Python Black)
30+ W504
31+ # C901 function too complex - since many of zz9 functions are too complex with a lot
32+ # of if branching
33+ C901
34+ # module level import not at top of file. This is too restrictive. Can't even have a
35+ # docstring higher.
36+ E402
37+
38+ [pycodestyle]
39+ max-line-length = 300
40+
41+ [pylint]
42+ max-line-length = 300
43+ statistics = True
44+
45+ [isort]
46+ profile = black
You can’t perform that action at this time.
0 commit comments