-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
40 lines (39 loc) · 1.07 KB
/
setup.cfg
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]
max-line-length = 120
docstring_style = sphinx
max-arguments = 6
exps-for-one-empty-line = 0
copyright-check = True
ignore =
# First line should be in imperative mood
D401
per-file-ignores =
tests/*:
# Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
S101,
# Found string literal over-use
WPS432,
# Found magic number
WPS432,
# Found wrong keyword: pass
WPS420,
# Found incorrect node inside `class` body
WPS604,
# Found outer scope names shadowing
WPS442,
# Found comparison with float or complex number
WPS459,
# split between test action and assert
WPS473,
# Found compare with falsy constant
WPS520,
# Found string literal over-use
WPS226,
# Found overused expression
WPS204,
# Missing parameter(s) in Docstring
DAR101,
# Missing "Yields" in Docstring: - yield
DAR301,
# Not use rst format
RST,