forked from pangeo-data/climpred
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
106 lines (98 loc) · 2.85 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
[bdist_wheel]
universal = 1
[flake8]
ignore = W503
# allowing doctests
max-line-length = 93
[black]
line-length = 88
[isort]
known_first_party=climpred
multi_line_output=3
include_trailing_comma=True
force_grid_wrap=0
use_parentheses=True
line_length = 88
combine_as_imports=True
skip=
docs/source/conf.py
setup.py
[tool:pytest]
python_files=test_*.py
testpaths=climpred/tests
filterwarnings =
# from xarray
ignore:Using a non-tuple sequence for multidimensional indexing is deprecated:FutureWarning
# upstream xarray
ignore: Mean of empty slice:RuntimeWarning
# upstream xarray
ignore:dropping variables using `drop` will be deprecated; using drop_vars is encouraged:PendingDeprecationWarning
# only shows up during CI: no idea where its coming from, something inside bootstrapping
ignore:`np.alen` is deprecated, use `len` instead:DeprecationWarning
# ignore UserWarnings raise by warnings.warn() which do not break functionality
# therefore ignore in testing
ignore::UserWarning
# from xarray
ignore:tostring:DeprecationWarning
# from properscoring
ignore: invalid value encountered:RuntimeWarning
ignore: divide by zero:RuntimeWarning
# from xarray
ignore: 'base' in .resample():FutureWarning
# matplotlib
ignore: More than 20 figures:RuntimeWarning
# numpy https://stackoverflow.com/questions/40659212/futurewarning-elementwise-comparison-failed-returning-scalar-but-in-the-futur#46721064
ignore: elementwise comparison failed
# pydap
ignore: Using or importing the ABCs from
# xarray
ignore: Passing method to CFTimeIndex.get_loc is deprecated
# statsmodels
ignore: pandas.Int64Index is deprecated
markers =
mistral: tests requiring being on MPI supercomputer
markers =
slow: marks tests as slow (deselect with '-m "not slow"')
serial
[aliases]
test = pytest
[doc8]
max-line-length=88
ignore-path=climpred/tests
[mypy]
exclude = asv_bench|doc
files = .
show_error_codes = True
# Most of the numerical computing stack doesn't have type annotations yet.
[mypy-bottleneck.*]
ignore_missing_imports = True
[mypy-cftime.*]
ignore_missing_imports = True
[mypy-dask.*]
ignore_missing_imports = True
[mypy-distributed.*]
ignore_missing_imports = True
[mypy-fsspec.*]
ignore_missing_imports = True
[mypy-matplotlib.*]
ignore_missing_imports = True
[mypy-nc_time_axis.*]
ignore_missing_imports = True
[mypy-numpy.*]
ignore_missing_imports = True
[mypy-netCDF4.*]
ignore_missing_imports = True
[mypy-pandas.*]
ignore_missing_imports = True
[mypy-pytest.*]
ignore_missing_imports = True
[mypy-scipy.*]
ignore_missing_imports = True
[mypy-setuptools]
ignore_missing_imports = True
[mypy-toolz.*]
ignore_missing_imports = True
# version spanning code is hard to type annotate (and most of this module will
# be going away soon anyways)
[mypy-xarray.core.pycompat]
ignore_errors = True