forked from statsmodels/statsmodels
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
279 lines (252 loc) · 9.09 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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
[metadata]
license_file = LICENSE.txt
[tool:pytest]
# minversion = 3.6
testpaths = statsmodels
xfail_strict = true
addopts = --strict
# Filter warnings generated by dependencies
filterwarnings =
ignore:pandas.core.common.is_categorical_dtype:DeprecationWarning:patsy
ignore:Using or importing the ABCs: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 is not the recommended:PendingDeprecationWarning:
ignore:Method .ptp is deprecated:FutureWarning:numpy.core.fromnumeric
ignore::DeprecationWarning:nbconvert.exporters.exporter_locator
ignore:Using or importing the ABCs:DeprecationWarning:jinja2.utils
error:genfromdta:FutureWarning
error:StataReader:FutureWarning
error:Estimation of VARMA:statsmodels.tools.sm_exceptions.EstimationWarning
error:Care should be used:UserWarning
error::statsmodels.tools.sm_exceptions.HypothesisTestWarning
error::statsmodels.tools.sm_exceptions.SpecificationWarning
error:load will return datasets:FutureWarning
error:the 'lags' keyword is deprecated:FutureWarning
error:nobs is deprecated in favor of lags:DeprecationWarning
error:The default pvalmethod will change:FutureWarning
error:Using an implicitly registered:FutureWarning
error:An unsupported index:statsmodels.tools.sm_exceptions.ValueWarning
error:No supported index is:statsmodels.tools.sm_exceptions.ValueWarning
error:Anscombe residuals:FutureWarning
error:Calling Family:DeprecationWarning
error:SIR.fit_regularized did not:UserWarning
error:the 'sigma' keyword:FutureWarning
error:tight_layout:UserWarning
error:statsmodels.tsa.AR has been deprecated:FutureWarning
error:Using deprecated variance components:UserWarning
error:recarray support has been deprecated:FutureWarning
error:The value returned will change to a:FutureWarning
error:The default value of lags:FutureWarning
error::pandas.core.common.SettingWithCopyWarning
error:non-integer arg n is deprecated:DeprecationWarning
error:Creating an ndarray:numpy.VisibleDeprecationWarning
markers =
example: mark a test that runs example code
matplotlib: mark a test that requires matplotlib
slow: mark a test as slow
smoke: mark a test as a smoketest
low_precision: mark a test as low precision
todo: mark a test as incomplete
junit_family = xunit2
[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,archive,versioneer.py
ignore=
W503,
# W503: line break before binary operator
W504,
# W504: line break after binary operator
select=
E101,
# E101: indentation contains mixed spaces and tabs
E124,
# E124: closing bracket does not match visual indentation
F811,
# F811: redefinition of unused 'pytest' from line 10
F812,
# F812: list comprehension redefines 'x' from line 199
F822,
# F822: undefined name name in __all__
F823,
# F823: local variable name ... referenced before assignment
E129,
# E129: visually indented line with same indent as next logical line
E131,
# E131: continuation line unaligned for hanging indent
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)
E117,
# E117: over-indented
E227,
# E227: missing whitespace around bitwise or shift operator
E228,
# E228: missing whitespace around modulo operator
E211,
# E211: whitespace before '['
E112,
# E112: expected an indented block
E113,
# E113: unexpected indentation
E223,
# E223: tab before operator
E224,
# E224: tab after operator
E242,
# E242: tab after ','
E304,
# E304: blank lines found after function decorator
F831,
# F831: duplicate argument name in function definition
E306,
# E306: expected 1 blank line before a nested definition, found 0
W,
# W191: indentation contains tabs
# W291: trailing whitespace
# W292: no newline at end of file
# W293: blank line contains whitespace
# W391: blank line at end of file
# W601: .has_key() is deprecated, use 'in'
# W602: deprecated form of raising exception
# W603: '<>' is deprecated, use '!='
# W604: backticks are deprecated, use 'repr()'
# W605: invalid escape sequence 'x'
# W606: 'async' and 'await' are reserved keywords starting with Python 3.7
E70,
# E701: multiple statements on one line (colon)
# E702: multiple statements on one line (semicolon)
# E703: statement ends with a semicolon
# E704: multiple statements on one line (def)
E71,
# E711: comparison to None should be 'if cond is None:'
# E712: comparison to True should be 'if cond is True:' or 'if cond:'
# E713: test for membership should be 'not in'
E721,
# E721: do not compare types, use 'isinstance()'
E74,
# E741 ambiguous variable name 'l', 'O', or 'I'
# E742: do not define classes named 'l', 'O', or 'I'
# E743: do not define functions named 'l', 'O', or 'I'
F4,
# F401: 'foo.bar' imported but unused
# F402: import 'assert_equal' from line 7 shadowed by loop variable
# F403: 'from .data import *' used; unable to detect undefined names
# F404: future import(s) name after other statements
# F405: name may be undefined, or defined from star imports: module
# F406: 'from module import *' only allowed at module level
# F407: an undefined __future__ feature name was imported
F6,
# F601: dictionary key name repeated with different values
# F602: dictionary key variable name repeated with different values
# F621: too many expressions in an assignment with star-unpacking
# F622: two or more starred expressions in an assignment (a, *b, *c = d)
# F631: assertion test is a tuple, which are always True
# F632: use ==/!= to compare str, bytes, and int literals
F7,
# F701: a break statement outside of a while or for loop
# F702: a continue statement outside of a while or for loop
# F703: a continue statement in a finally block in a loop
# F704: a yield or yield from statement outside of a function
# F705: a return statement with arguments inside a generator
# F706: a return statement outside of a function/method
# F707: an except: block as not the last exception handler
# F721: doctest syntax error
# F722: syntax error in forward type annotation
F81,
# F811: redefinition of unused 'pytest' from line 10
# F812: list comprehension redefines 'x' from line 199
F82,
# F821: undefined name 'foo'
# F822: undefined name name in __all__
# F823: local variable name ... referenced before assignment
F9,
# F901: raise NotImplemented should be raise NotImplementedError
E27,
# E271: multiple spaces after keyword
# E272: multiple spaces before keyword
# E273: tab after keyword
# E274: tab before keyword
# E275: missing whitespace after keyword
E4,
# E401: multiple imports on one line
# E402: module level import not at top of file
E9,
# E901: SyntaxError or IndentationError
# E902: IOError
# E999: Syntax Error
[coverage:run]
source = statsmodels
branch = True
plugins = Cython.Coverage
omit =
# print_version is untestable
*/print_version.py
# skip compatibility code
*/compat/*
# Unused file
*/results/gee_generate_tests.py
# Results for tests
*/tests/results/*
# Simulation checks
*/tests/*_simulation_check.py
# Misc non-test files in test directories
*/tests/_*
*/tests/e*
*/tests/c*
*/tests/d*
*/tests/g*
*/tests/m*
*/tests/p*
*/tests/r*
*/tests/s*
# Versioneer
*/_version.py
[coverage:report]
show_missing = True
ignore_errors = False
# Regexes for lines to exclude from consideration
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover
# Do not complain about missing debug-only code:
def __repr__
if self\.debug
if pdf_output:
# Do not complain if tests do not hit defensive assertion code:
raise AssertionError
raise NotImplementedError
except NotImplementedError
except ImportError
except (HTTPError, URLError, SSLError, timeout)
except IGNORED_EXCEPTIONS
# Ignore pass
pass
# Do not complain if non-runnable code is not run:
if 0:
if __name__ == .__main__.:
[coverage:html]
directory = coverage_html_report
[isort]
sections=FUTURE,COMPAT,STDLIB,THIRDPARTY,PRE_CORE,FIRSTPARTY,LOCALFOLDER
known_first_party=statsmodels
known_third_party=Cython,numpy,matplotlib,pandas,patsy,pytest,cvxopt,cython
multi_line_output=3
include_trailing_comma=True
use_parentheses=True
line_length=88
known_compat=statsmodels.compat.*
force_grid_wrap=0
combine_as_imports=True
force_sort_within_sections=True
force_to_top=True