-
Notifications
You must be signed in to change notification settings - Fork 19
/
.flake8
30 lines (26 loc) · 1.12 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
# C convention related checks
# R refactoring related checks
# W various warnings
# E errors, for probable bugs in the code
# F fatal, if an error occurred which prevented pylint from doing further processing.
[flake8]
# Disabled:
# E116 unexpected indentation (comment)
# E203 whitespace before ':'
# E221 multiple spaces before operator
# E228 missing whitespace around modulo operator
# E241 multiple spaces after ','
# E261 at least two spaces before inline comment
# E271 multipe spaces after keyword
# E272 Multiple spaces before keyword
# E302 expected 2 blank lines, found 1
# E305 expected 2 blank lines after class or function definition, found 1
# E402 module level import not at top of file
# E501 line too long (85 > 79 characters)
# E502 the backslash is redundant between brackets
# E701 multiple statements on one line(colon)
# E722 do no use bare 'except'
# E731 do not assign a lambda expression, use a def
# F541 f-string is missing placeholders
# F841 local variable 'DataFile' is assigned to but never used
ignore= E116, E203, E221, E228, E241, E261, E271, E272, E302, E305, E402, E501, E502, E701, E722, E731, F541, F841