Skip to content

Commit 10f39a1

Browse files
authored
Merge pull request statsmodels#5987 from jbrockmendel/formfollow
MAINT: add W605 to lint codes
2 parents 0d3f015 + 0f6d28a commit 10f39a1

File tree

1 file changed

+14
-17
lines changed

1 file changed

+14
-17
lines changed

setup.cfg

+14-17
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,14 @@ parentdir_prefix = statsmodels-
4141

4242
[flake8]
4343
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
4449
select=
4550
E101,
4651
# E101: indentation contains mixed spaces and tabs
47-
W191,
48-
# W191: indentation contains tabs
4952
E124,
5053
# E124: closing bracket does not match visual indentation
5154
F811,
@@ -74,10 +77,6 @@ select=
7477
# E228: missing whitespace around modulo operator
7578
E211,
7679
# E211: whitespace before '['
77-
W601,
78-
# W601: .has_key() is deprecated, use 'in'
79-
W391,
80-
# W391: blank line at end of file
8180
E112,
8281
# E112: expected an indented block
8382
E113,
@@ -90,25 +89,23 @@ select=
9089
# E242: tab after ','
9190
E304,
9291
# 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
10392
F831,
10493
# F831: duplicate argument name in function definition
10594
E306,
10695
# E306: expected 1 blank line before a nested definition, found 0
10796

108-
W2,
97+
W,
98+
# W191: indentation contains tabs
10999
# W291: trailing whitespace
110100
# W292: no newline at end of file
111101
# 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
112109

113110
E70,
114111
# E701: multiple statements on one line (colon)

0 commit comments

Comments
 (0)