@@ -41,11 +41,14 @@ parentdir_prefix = statsmodels-
41
41
42
42
[flake8]
43
43
exclude =.git,build,docs,versioneer.py
44
+ ignore =
45
+ W503,
46
+ # W503: line break before binary operator
47
+ W504,
48
+ # W504: line break after binary operator
44
49
select =
45
50
E101,
46
51
# E101: indentation contains mixed spaces and tabs
47
- W191,
48
- # W191: indentation contains tabs
49
52
E124,
50
53
# E124: closing bracket does not match visual indentation
51
54
F811,
@@ -74,10 +77,6 @@ select=
74
77
# E228: missing whitespace around modulo operator
75
78
E211,
76
79
# E211: whitespace before '['
77
- W601,
78
- # W601: .has_key() is deprecated, use 'in'
79
- W391,
80
- # W391: blank line at end of file
81
80
E112,
82
81
# E112: expected an indented block
83
82
E113,
@@ -90,25 +89,23 @@ select=
90
89
# E242: tab after ','
91
90
E304,
92
91
# E304: blank lines found after function decorator
93
- W602,
94
- # W602: deprecated form of raising exception
95
- W603,
96
- # W603: '<>' is deprecated, use '!='
97
- W604,
98
- # W604: backticks are deprecated, use 'repr()'
99
- # W605,
100
- # W605: invalid escape sequence 'x'
101
- W606,
102
- # W606: 'async' and 'await' are reserved keywords starting with Python 3.7
103
92
F831,
104
93
# F831: duplicate argument name in function definition
105
94
E306,
106
95
# E306: expected 1 blank line before a nested definition, found 0
107
96
108
- W2,
97
+ W,
98
+ # W191: indentation contains tabs
109
99
# W291: trailing whitespace
110
100
# W292: no newline at end of file
111
101
# W293: blank line contains whitespace
102
+ # W391: blank line at end of file
103
+ # W601: .has_key() is deprecated, use 'in'
104
+ # W602: deprecated form of raising exception
105
+ # W603: '<>' is deprecated, use '!='
106
+ # W604: backticks are deprecated, use 'repr()'
107
+ # W605: invalid escape sequence 'x'
108
+ # W606: 'async' and 'await' are reserved keywords starting with Python 3.7
112
109
113
110
E70,
114
111
# E701: multiple statements on one line (colon)
0 commit comments