This repository has been archived by the owner on Aug 7, 2023. It is now read-only.
forked from sunpy/radiospectra
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.cfg
170 lines (159 loc) · 5.71 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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
[metadata]
name = radiospectra
provides = radiospectra
description = "Provide support for some type of radio spectra in solar physics"
long_description = file: README.rst
long_description_content_type = text/x-rst
author = The SunPy Community
author_email = [email protected]
license = BSD 2-Clause
license_file = LICENSE.rst
url = https://sunpy.org
edit_on_github = True
github_project = sunpy/radiospectra
platform = any
keywords = solar physics, solar, science, sun, wcs, coordinates, radio, spectra
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.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Topic :: Scientific/Engineering :: Physics
[options]
zip_safe = False
python_requires = >=3.7
packages = find:
include_package_data = True
setup_requires =
setuptools_scm
install_requires =
sunpy[net]>=3.0.0
numpy
matplotlib
scipy
cdflib>=0.3.20
[options.packages.find]
exclude = radiospectra._dev
[options.extras_require]
tests =
pytest-astropy >= 0.8 # 0.8 is the first release to include filter-subpackage
pytest-doctestplus >= 0.5 # We require the newest version of doctest plus to use +IGNORE_WARNINGS
tox
docs =
sphinx-automodapi
sphinx-changelog
sphinx-gallery>=0.7.0 # First to include the mini-galleries directive
sphinx>=3
sunpy-sphinx-theme
[options.package_data]
radiospectra = data/*
[tool:pytest]
testpaths = "radiospectra" "docs"
norecursedirs = ".tox" "build" "docs[\/]_build" "docs[\/]generated" "*.egg-info" "examples" ".jupyter" ".history" "tools" "radiospectra[\/]_dev"
doctest_plus = enabled
doctest_optionflags = NORMALIZE_WHITESPACE FLOAT_CMP ELLIPSIS
addopts = --doctest-rst --doctest-ignore-import-errors -p no:unraisableexception -p no:threadexception
markers =
remote_data: marks this test function as needing remote data.
online: marks this test function as needing online connectivity.
remote_data_strict = True
# Pin junit behaviour; we might want to update this to xunit2 at some point
junit_family=xunit1
filterwarnings =
error
error::sunpy.util.exceptions.SunpyDeprecationWarning
#
# A list of warnings to ignore follows. If you add to this list, you MUST
# add a comment or ideally a link to an issue that explains why the warning
# is being ignored
#
#
# See https://github.com/spacetelescope/asdf/issues/789
ignore:direct construction of AsdfSchemaFile has been deprecated
ignore:direct construction of AsdfSchemaItem has been deprecated
ignore:direct construction of AsdfSchemaExampleItem has been deprecated
# See https://github.com/Cadair/parfive/issues/41
ignore:The loop argument is deprecated
# 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.ufunc size changed:RuntimeWarning
ignore:numpy.ndarray size changed:RuntimeWarning
# See https://github.com/mvantellingen/python-zeep/issues/956
ignore:defusedxml.lxml is no longer supported:DeprecationWarning
# See https://github.com/aio-libs/aiohttp/issues/4842
ignore:"@coroutine" decorator is deprecated
# See https://github.com/spacetelescope/asdf/issues/789
ignore:direct construction of AsdfSchemaFile has been deprecated
ignore:direct construction of AsdfSchemaItem has been deprecated
ignore:direct construction of AsdfSchemaExampleItem has been deprecated
# See https://github.com/scikit-image/scikit-image/issues/4848
ignore:Converting `np.inexact` or `np.floating` to a dtype is deprecated
# See https://github.com/astropy/astropy/pull/10570
ignore:leap-second auto-update failed
# See https://github.com/astropy/extension-helpers/issues/23
ignore:Distutils was imported before Setuptools
# toolz internal deprecation warning https://github.com/pytoolz/toolz/issues/500
ignore:The toolz.compatibility module is no longer needed:DeprecationWarning
# Fix before sunpy 4.1
ignore:The Scraper class is deprecated and may be removed in version 4.1.:sunpy.util.exceptions.SunpyDeprecationWarning
[pycodestyle]
max_line_length = 100
[flake8]
max-line-length = 100
exclude =
.git,
__pycache__,
docs/conf.py,
build,
rst-directives =
plot
[isort]
balanced_wrapping = True
skip=docs/conf.py
default_section = THIRDPARTY
include_trailing_comma = True
known_astropy = astropy, asdf, sunpy
length_sort = False
length_sort_sections=stdlib
line_length = 110
multi_line_output = 3
no_lines_before = LOCALFOLDER
sections = STDLIB, THIRDPARTY, ASTROPY, FIRSTPARTY, LOCALFOLDER
[coverage:run]
omit =
radiospectra/_sunpy_init*
radiospectra/conftest.py
radiospectra/*setup_package*
radiospectra/tests/*
radiospectra/*/tests/*
radiospectra/extern/*
radiospectra/version*
*/radiospectra/_sunpy_init*
*/radiospectra/conftest.py
*/radiospectra/*setup_package*
*/radiospectra/tests/*
*/radiospectra/*/tests/*
*/radiospectra/extern/*
*/radiospectra/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_