-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
110 lines (92 loc) · 2.5 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
[metadata]
description-file = README.md
license_file = LICENSE.txt
[tool:pytest]
minversion = 3.10
testpaths = sm2
addopts = --strict
# Filter warnings generated by dependencies
filterwarnings =
once::DeprecationWarning
once::PendingDeprecationWarning
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
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
not_vetted: mark a test as not vetted
match_stata11: mark a test a checked against results from Stata 11
[coverage:run]
branch = False
plugins = Cython.Coverage
[coverage:report]
show_missing = True
ignore_errors = False
omit = sm2/datasets/[a-z]*/*.py
sm2/datasets/template_data.py
*/results/*.py
*/tests/*.py
sm2/_version.py
versioneer.py
# Regexes for lines to exclude from consideration
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover
not ported from upstream
# Don't complain about missing debug-only code:
def __repr__
if self\.debug
# Don't complain if tests don't hit defensive assertion code:
raise AssertionError
except ImportError
# Don't complain if non-runnable code isn't run:
if 0:
if __name__ == .__main__.:
[coverage:html]
directory = coverage_html_report
[flake8]
max-line-length = 80
max-complexity = 10
exclude =
.tox,
*.egg,
.hypothesis/*,
build/*
.cache/
versioneer.py
_version.py
ignore =
E402,
# E402 module level import not at top of file
W503,
# W503 line break before binary operator
W504,
# W504 line break after binary operator
E731,
# E731 do not assign to a lambda expression, use a def
#
# THINGS STILL NEEDING FIXING:
#
E262,
# E262 inline comment should start with '# '
E265,
# E265 block comment should start with '# '
C901,
# C901 'get_robustcov_results' is too complex (14)
F841,
# F841 local variable 'exog' is assigned to but never used
E722,
# E722 do not use bare except'
E501
# E501 line too long (98 > 80 characters)
[versioneer]
VCS = git
style = pep440
versionfile_source = sm2/_version.py
versionfile_build = sm2/_version.py
tag_prefix = v
parentdir_prefix = sm2-