6
6
license_file = LICENSE
7
7
description_file = README.md
8
8
9
-
10
9
[tool:pytest]
11
10
norecursedirs =
12
11
.git
@@ -17,7 +16,6 @@ addopts =
17
16
--durations =25
18
17
--color =yes
19
18
20
-
21
19
[flake8]
22
20
max-line-length = 120
23
21
exclude = .tox,*.egg,build,temp
@@ -27,25 +25,23 @@ verbose = 2
27
25
# https://pep8.readthedocs.io/en/latest/intro.html#error-codes
28
26
format = pylint
29
27
# see: https://www.flake8rules.com/
30
- ignore =
31
- E731 # Do not assign a lambda expression, use a def
32
- F405 # name may be undefined, or defined from star imports: module
33
- E402 # module level import not at top of file
34
- F401 # module imported but unused
35
- W504 # line break after binary operator
36
- E127 # continuation line over-indented for visual indent
37
- E231 # missing whitespace after β,β, β;β, or β:β
38
- E501 # line too long
39
- F403 # βfrom module import *β used; unable to detect undefined names
40
-
28
+ ignore = E731,F405,E402,F401,W504,E127,E231,E501,F403
29
+ # E731: Do not assign a lambda expression, use a def
30
+ # F405: name may be undefined, or defined from star imports: module
31
+ # E402: module level import not at top of file
32
+ # F401: module imported but unused
33
+ # W504: line break after binary operator
34
+ # E127: continuation line over-indented for visual indent
35
+ # E231: missing whitespace after β,β, β;β, or β:β
36
+ # E501: line too long
37
+ # F403: βfrom module import *β used; unable to detect undefined names
41
38
42
39
[isort]
43
40
# https://pycqa.github.io/isort/docs/configuration/options.html
44
41
line_length = 120
45
42
# see: https://pycqa.github.io/isort/docs/configuration/multi_line_output_modes.html
46
43
multi_line_output = 0
47
44
48
-
49
45
[yapf]
50
46
based_on_style = pep8
51
47
spaces_before_comment = 2
0 commit comments