forked from statsmodels/statsmodels
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
148 lines (141 loc) · 4.32 KB
/
setup.cfg
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
[metadata]
license_file = LICENSE.txt
[tool:pytest]
# minversion = 3.6
testpaths = statsmodels
addopts = --strict
# Filter warnings generated by dependencies
filterwarnings =
ignore:pandas.core.common.is_categorical_dtype:DeprecationWarning:patsy
ignore:Using a non-tuple sequence:FutureWarning:mkl_fft
ignore:Using a non-tuple:FutureWarning:scipy.signal
ignore:Using a non-tuple:FutureWarning:scipy.stats.stats
ignore:the matrix subclass:PendingDeprecationWarning:numpy.matrixlib.defmatrix
markers =
example: mark a test that runs example code
matplotlib: mark a test that requires matplotlib
slow: mark a test as slow
[versioneer]
VCS = git
style = pep440
versionfile_source = statsmodels/_version.py
versionfile_build = statsmodels/_version.py
tag_prefix = v
parentdir_prefix = statsmodels-
[flake8]
exclude=.git,build,docs
select=
E271,
# E271: multiple spaces after keyword
E901,
# E901: SyntaxError or IndentationError
E999,
# E999: Syntax Error
E101,
# E101: indentation contains mixed spaces and tabs
W191,
# W191: indentation contains tabs
F822,
# F882: undefined name name in __all__
F823,
# F821: local variable name ... referenced before assignment
E129,
# E129: visually indented line with same indent as next logical line
E125,
# E125: continuation line with same indent as next logical line
E111,
# E111: Indentation is not a multiple of four
E114,
# E114: Indentation is not a multiple of four (comment)
E227,
# E227: missing whitespace around bitwise or shift operator
E228,
# E228: missing whitespace around modulo operator
E211,
# E211: whitespace before '['
E401,
# E401: multiple imports on one line
F402,
# F402: import 'assert_equal' from line 7 shadowed by loop variable
W601,
# W601: .has_key() is deprecated, use 'in'
W391,
# W391: blank line at end of file
E112,
# E112: expected an indented block
E113,
# E113: unexpected indentation
E223,
# E223: tab before operator
E224,
# E224: tab after operator
E242,
# E242: tab after ','
E273,
# E273: tab after keyword
E274,
# E274: tab before keyword
E275,
# E275: missing whitespace after keyword
E304,
# E304: blank lines found after function decorator
E742,
# E742: do not define classes named 'l', 'O', or 'I'
E743,
# E743: do not define functions named 'l', 'O', or 'I'
E902,
# E902: IOError
W602,
# W602: deprecated form of raising exception
W603,
# W603: '<>' is deprecated, use '!='
W604,
# W604: backticks are deprecated, use 'repr()'
# W605,
# W605: invalid escape sequence 'x'
W606,
# W606: 'async' and 'await' are reserved keywords starting with Python 3.7
F404,
# F404: future import(s) name after other statements
F406,
# F406: 'from module import *' only allowed at module level
F407,
# F407: an undefined __future__ feature name was imported
F601,
# F601: dictionary key name repeated with different values
F602,
# F602: dictionary key variable name repeated with different values
F621,
# F621: too many expressions in an assignment with star-unpacking
F622,
# F622: two or more starred expressions in an assignment (a, *b, *c = d)
F631,
# F631: assertion test is a tuple, which are always True
F701,
# F701: a break statement outside of a while or for loop
F702,
# F702: a continue statement outside of a while or for loop
F703,
# F703: a continue statement in a finally block in a loop
F704,
# F704: a yield or yield from statement outside of a function
F705,
# F705: a return statement with arguments inside a generator
F706,
# F706: a return statement outside of a function/method
F707,
# F707: an except: block as not the last exception handler
F721,
# F721: doctest syntax error
F722,
# F722: syntax error in forward type annotation
F831,
# F831: duplicate argument name in function definition
F901,
# F901: raise NotImplemented should be raise NotImplementedError
E306,
# E306: expected 1 blank line before a nested definition, found 0
E272,
# E272: multiple spaces before keyword
E721
# E721: do not compare types, use 'isinstance()'