-
Notifications
You must be signed in to change notification settings - Fork 22
/
.flake8
65 lines (61 loc) · 1.61 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
[flake8]
extend-ignore =
# whitespace before ':' (currently conflicts with black formatting):
E203,
# line too long (in docstrings):
E501,
# ‘from module import *’ used; unable to detect undefined names:
F403,
# name may be undefined, or defined from star imports: module:
F405,
# doc line too long (105 > 80 characters):
W505,
# 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 magic method:
D105,
# missing docstring in __init__:
D107,
# no blank lines allowed after function docstring:
D202,
# 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,
# first line should not be the function's "signature":
D402,
# section has no content:
D414
per-file-ignores =
__init__.py: E402, F401
dpnp/dpnp_algo/__init__.py: F401
dpnp/dpnp_algo/__init__.py: F401
dpnp/fft/__init__.py: F401
dpnp/linalg/__init__.py: F401
dpnp/random/__init__.py: F401
filename = *.py, *.pyx, *.pxi, *.pxd
max_line_length = 80
max-doc-length = 80
show-source = True
exclude =
.git,
benchmarks/*.py,
build,
dpnp/to_numba/*.py,
conda.recipe,
tests/*.py,
tests_external/*.py,
versioneer.py,
# Print detailed statistic if any issue detected
count = True
statistics = True