-
Notifications
You must be signed in to change notification settings - Fork 0
/
.flake8
50 lines (50 loc) · 1.18 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
[flake8]
max-line-length = 80
exclude = .git,__pycache__,.readme,github2pypi
ignore =
E203,
E206,
E501,
# E731 do not assign a lambda expression, use a defflake8()
E731,
# E741 ambiguous variable name
E741,
# F812: list comprehension redefines ...
F812,
# H101: Use TODO(NAME)
H101,
# H104: File contains nothing but comments
H104,
# H202: assertRaises Exception too broad
H202,
# H233: Python 3.x incompatible use of print operator
H233,
# H301: one import per line
H301,
# H306: imports not in alphabetical order (time, os)
H306,
# H401: docstring should not start with a space
H401,
# H403: multi line docstrings should end on a new line
H403,
# H404: multi line docstring should start without a leading new line
H404,
# H405: multi line docstring summary not separated with an empty line
H405,
# H501: Do not use self.__dict__ for string formatting
H501,
# I100:
I100,
# function name should be lowercase
N802,
# N803, arguments should be lowercase
N803,
# N806, should be lowercase
N806,
# N812, non lowercase
N812,
# N817: camelcase
N817,
W503,
# EXE001: Shebang is present but the file is not executable.
EXE001