forked from pvlib/pvlib-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
41 lines (34 loc) · 1.44 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
# See the docstring in versioneer.py for instructions. Note that you must
# re-run 'versioneer.py setup' after changing this section, and commit the
# resulting files.
[versioneer]
VCS = git
style = pep440
versionfile_source = pvlib/_version.py
versionfile_build = pvlib/_version.py
tag_prefix = v
parentdir_prefix = pvlib-python-
[aliases]
test=pytest
[flake8]
max-line-length = 79
ignore = E201, E241, E226, W503, W504
exclude = pvlib/_version.py docs dist
[tool:pytest]
junit_family=xunit2
testpaths = pvlib/tests
filterwarnings =
# warning messages to suppress from pytest output. useful in cases
# where a dependency hasn't addressed a deprecation yet, and there's
# nothing we can do to fix it ourselves.
# syntax is: action:message:category:module:lineno
# `message` is a regex matching start of warning message
# https://docs.python.org/3/library/warnings.html#the-warnings-filter
ignore:Using or importing the ABCs:DeprecationWarning:.*patsy:
# deprecation warnings from numpy 1.20
ignore:`np.long` is a deprecated alias:DeprecationWarning:.*numba:
ignore:`np.int` is a deprecated alias:DeprecationWarning:.*(numba|scipy):
ignore:`np.bool` is a deprecated alias:DeprecationWarning:.*numba:
# warnings from netcdf4, but reported as coming from pvlib
ignore:`np.bool` is a deprecated alias:DeprecationWarning:.*(ecmwf_macc|forecast):
ignore:tostring\(\) is deprecated:DeprecationWarning:.*ecmwf_macc: