-
Notifications
You must be signed in to change notification settings - Fork 4
/
.flake8
34 lines (32 loc) · 1.4 KB
/
.flake8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
[flake8]
max-module-members = 10
i-control-code = False
ignore =
FS003, # f-string missing prefix - IDE helps us and tests covers output
W503, #
D100, # Missing docstring in public module
D103, # Missing docstring in public function
D104, # Missing docstring in public package
E501, # pylint has a flexible configuration on long lines
WPS300, # Found local folder import
WPS201, # Found module with too many imports: 13 > 12
WPS202, # Found too many module members: 14 > 10
WPS210, # Found too many local variables: 8 > 5
WPS221, # Found line with high Jones Complexity: 15 > 14
WPS305, # Found `f` string
WPS306, # Found class without a base class
WPS433, # Found nested import
WPS111, # Found too short name: x < 2
WPS224, # Found a comprehension with too many `for` statements
RST203, # https://github.com/cjolowicz/cookiecutter-hypermodern-python/issues/497
RST301, # https://github.com/cjolowicz/cookiecutter-hypermodern-python/issues/497
RST214, # not-compatible with markdown
RST215, # not-compatible with markdown
per-file-ignores =
# There are multiple `assert`s in tests, we allow them:
packages/python/tests/*.py:S101,FS003
packages/python/m/core/fp.py:WPS110
extend-ignore =
# Google Python style is not RST until after processed by Napoleon
# See https://github.com/peterjc/flake8-rst-docstrings/issues/17
RST201,RST203,RST301,