-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.cfg
148 lines (139 loc) · 4.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
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
[metadata]
name = sunkit_pyvista
provides = sunkit_pyvista
description = 3D visualisation of solar physics data with pyvista
long_description = file: README.rst
long_description_content_type = text/x-rst
author = The SunPy Community
author_email = sunpy@googlegroups.com
license = BSD 3-Clause
license_files = licenses/LICENSE.rst
url = https://github.com/sunpy/sunkit-pyvista
edit_on_github = True
github_project = sunpy/sunkit-pyvista
platform = any
keywords = solar physics, solar, science, sun, 3d, plotting, visualisation
classifiers =
Development Status :: 3 - Alpha
Intended Audience :: Science/Research
License :: OSI Approved :: BSD License
Natural Language :: English
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Topic :: Scientific/Engineering :: Visualization
[options]
python_requires = >=3.9
zip_safe = False
packages = find:
include_package_data = True
setup_requires =
setuptools_scm
install_requires =
pfsspy>=1.1.2
pyvista[all]>= 0.38.4
sunpy[map]>=4.0.0
[options.extras_require]
tests =
pytest
pytest-cov
pytest-doctestplus
scikit-image
docs =
ipython
sphinx
sphinx-automodapi
sphinx-changelog
sphinx-gallery
streamtracer
sunpy-sphinx-theme
[options.package_data]
sunkit_pyvista = data/*
[tool:pytest]
testpaths = "sunkit_pyvista" "docs"
norecursedirs = ".tox" "build" "docs[\/]_build" "docs[\/]generated" "*.egg-info" "examples" ".history"
doctest_plus = enabled
doctest_optionflags = NORMALIZE_WHITESPACE FLOAT_CMP ELLIPSIS
text_file_format = rst
addopts = --doctest-rst -p no:unraisableexception -p no:threadexception -ra
markers =
display_server: marks this test function as needing a display server.
filterwarnings =
error
# This is due to dependencies building with a numpy version different from
# the local installed numpy version, but should be fine
# See https://github.com/numpy/numpy/issues/15748#issuecomment-598584838
ignore:numpy.ndarray size changed, may indicate binary incompatibility:RuntimeWarning
# This is an issue in vtkmodules
ignore:`np.bool` is a deprecated alias:DeprecationWarning
# This is an issue in transforms3d
ignore:`np.float` is a deprecated alias:DeprecationWarning
# See https://github.com/Cadair/parfive/issues/65
ignore:unclosed <socket
ignore:unclosed transport
ignore:The loop argument is deprecated
# Probably another parfive issue
ignore:Event loop is closed
ignore:'datfix' made the change:astropy.wcs.wcs.FITSFixedWarning
# pfsspy can emit these if numba is installed
ignore:.*is faster on contiguous arrays.*
# https://github.com/pytest-dev/pytest-cov/issues/557
ignore:The --rsyncdir command line argument and rsyncdirs config variable are deprecated.:DeprecationWarning
# Coming from cmocean pulled in via pyvista, see https://github.com/matplotlib/cmocean/issues/83
ignore:The register_cmap function was deprecated in Matplotlib 3.7:DeprecationWarning
[pycodestyle]
max_line_length = 110
[flake8]
max-line-length = 110
exclude =
.git,
__pycache__,
build,
rst-directives =
plot
[isort]
balanced_wrapping = True
default_section = THIRDPARTY
include_trailing_comma = True
known_sunpy = astropy, sunpy
known_first_party = sunkit_pyvista
length_sort = False
length_sort_sections=stdlib
line_length = 110
multi_line_output = 3
no_lines_before = LOCALFOLDER
sections = STDLIB, THIRDPARTY, SUNPY, FIRSTPARTY, LOCALFOLDER
[coverage:run]
omit =
sunkit_pyvista/__init*
sunkit_pyvista/conftest.py
sunkit_pyvista/*setup_package*
sunkit_pyvista/tests/*
sunkit_pyvista/*/tests/*
sunkit_pyvista/extern/*
sunkit_pyvista/version*
*/sunkit_pyvista/__init*
*/sunkit_pyvista/conftest.py
*/sunkit_pyvista/*setup_package*
*/sunkit_pyvista/tests/*
*/sunkit_pyvista/*/tests/*
*/sunkit_pyvista/extern/*
*/sunkit_pyvista/version*
[coverage:report]
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover
# Don't complain about packages we have installed
except ImportError
# Don't complain if tests don't hit assertions
raise AssertionError
raise NotImplementedError
# Don't complain about script hooks
def main\(.*\):
# Ignore branches that don't pertain to this version of Python
pragma: py{ignore_python_version}
# Don't complain about IPython completion helper
def _ipython_key_completions_