-
Notifications
You must be signed in to change notification settings - Fork 184
/
setup.cfg
64 lines (57 loc) · 2.21 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
[flake8]
max-line-length = 99
ignore = E203,W503,BLK100
[tool:pytest]
# Change syntax due to pytest bug
minversion = 7
testpaths = linearmodels
addopts = --strict
# Filter warnings generated by dependencies
filterwarnings =
ignore:`formatargspec`:DeprecationWarning:statsmodels
ignore:Method .ptp is deprecated:FutureWarning
ignore:Traits should be given:DeprecationWarning
ignore:Using or importing the ABCs:DeprecationWarning
ignore:`nbconvert.exporters.exporter_locator` is deprecated:DeprecationWarning
ignore:Session._key_changed:DeprecationWarning
ignore:@asynchronous is deprecated:DeprecationWarning
error:A value is trying to be set::
error:The pandas.datetime class is deprecated:FutureWarning:
error:pandas.util.testing is deprecated:FutureWarning:
error:Support for multi-dimensional indexing:DeprecationWarning
error:multivariate_ls is deprecated:FutureWarning
error:invalid value encountered in true_divide:RuntimeWarning
ignore:The --strict option is deprecated, use --strict-markers instead:pytest.PytestDeprecationWarning
ignore:`np.bool` is a deprecated alias:DeprecationWarning:pyhdfe
ignore:defusedxml.cElementTree:DeprecationWarning:nbconvert
ignore:the imp module is deprecated in favour of importlib:DeprecationWarning:pywintypes
error:Setting an item of incompatible dtype:FutureWarning:
markers =
slow: mark a test as slow
smoke: mark a test as a coding error (smoke) test
[isort]
sections=FUTURE,COMPAT,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
known_first_party=linearmodels
known_third_party=Cython,numpy,matplotlib,pandas,pytest,statsmodels,seaborn
known_compat=linearmodels.compat.*,setuptools,setuptools.*
combine_as_imports=True
force_sort_within_sections=True
force_to_top=True
profile=black
[mypy]
plugins=numpy.typing.mypy_plugin
ignore_missing_imports=True
no_implicit_optional=True
strict_equality=True
disallow_untyped_defs=True
disallow_incomplete_defs=True
[mypy-linearmodels.conftest]
check_untyped_defs=False
disallow_untyped_defs=False
[mypy-linearmodels._version]
check_untyped_defs=False
disallow_untyped_defs=False
[mypy-linearmodels.tests.*]
check_untyped_defs=False
disallow_untyped_defs=False
disallow_incomplete_defs=False