forked from statsmodels/statsmodels
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
153 lines (141 loc) · 4.89 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
[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 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:PendingDeprecationWarning:numpy.matrixlib.defmatrix
ignore:Method .ptp is deprecated:FutureWarning:numpy.core.fromnumeric
ignore::DeprecationWarning:nbconvert.exporters.exporter_locator
ignore:Using or importing the ABCs:DeprecationWarning:jinja2.utils
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
[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,versioneer.py
select=
E101,
# E101: indentation contains mixed spaces and tabs
W191,
# W191: indentation contains tabs
E124,
# E124: closing bracket does not match visual indentation
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
F403,
# F403: F403 'from .data import *' used; unable to detect undefined names
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 ','
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'
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
F831,
# F831: duplicate argument name in function definition
E306,
# E306: expected 1 blank line before a nested definition, found 0
E703,
# E703: statement ends with a semicolon
W292,
# W292: no newline at end of file
W293,
# W293: blank line contains whitespace
E713,
# E713: test for membership should be 'not in'
E721,
# E721: do not compare types, use 'isinstance()'
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
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
E9,
# E901: SyntaxError or IndentationError
# E902: IOError
# E999: Syntax Error