-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path.flake8
More file actions
40 lines (36 loc) · 1.02 KB
/
.flake8
File metadata and controls
40 lines (36 loc) · 1.02 KB
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
35
36
37
38
39
40
[flake8]
extend-ignore =
# whitespace before ':' (currently conflicts with black formatting):
E203,
# ‘from module import *’ used; unable to detect undefined names:
F403,
# missing docstring in public module:
D100,
# missing docstring in public class:
D101,
# missing docstring in public method:
D102,
# missing docstring in public function:
D103,
# missing docstring in public package:
D104,
# missing docstring in __init__:
D107,
# 1 blank line required between summary line and description:
D205,
# first line should end with a period:
D400,
# first line should be in imperative mood:
D401,
per-file-ignores =
mkl_umath/__init__.py: F401
mkl_umath/ufunc_docstrings_numpy1.py: E501
mkl_umath/ufunc_docstrings_numpy2.py: E501
exclude = _vendored/conv_template.py
filename = *.py, *.pyx, *.pxi, *.pxd
max_line_length = 80
max-doc-length = 80
show-source = True
# Print detailed statistic if any issue detected
count = True
statistics = True