forked from sunpy/sunkit-instruments
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
148 lines (139 loc) · 4.62 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-instruments
provides = sunkit_instruments
description = A SunPy-affiliated package for solar instrument-specific tools.
long_description = file: README.rst
long_description_content_type = text/x-rst
author = The SunPy Community
author_email = [email protected]
license = BSD 3-Clause
license_files = LICENSE.rst
url = https://sunpy.org
edit_on_github = True
github_project = sunpy/sunkit_instruments
platform = any
keywords = solar physics, solar, science, telescope, instrumentation
classifiers =
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.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Topic :: Scientific/Engineering :: Physics
[options]
zip_safe = False
python_requires = >=3.8
packages = find:
include_package_data = True
setup_requires =
setuptools_scm
install_requires =
scipy
sunpy[net,timeseries]>=4.0.0
[options.extras_require]
tests =
pytest-astropy
docs =
sphinx
sphinx-automodapi
sphinx-changelog
sphinx-gallery
sunpy-sphinx-theme
# Not a direct dependency, but we need to pin this until sphinx-changelog is updated (see #6668)
towncrier<22.12.0
[options.packages.find]
exclude = sunkit_instruments._dev
[tool:pytest]
testpaths = "sunkit_instruments" "docs"
norecursedirs = ".tox" "build" "docs[\/]_build" "docs[\/]generated" "*.egg-info" "examples" ".history" "sunkit_instruments/_dev"
doctest_plus = enabled
doctest_optionflags = NORMALIZE_WHITESPACE FLOAT_CMP ELLIPSIS
addopts = -rsa -vvv --doctest-rst --doctest-ignore-import-errors -p no:unraisableexception -p no:threadexception
markers =
remote_data: marks this test function as needing remote data.
remote_data_strict = True
# Pin junit behaviour; we might want to update this to xunit2 at some point
junit_family=xunit1
filterwarnings =
error
# Do not fail on pytest config issues (i.e. missing plugins) but do show them
always::pytest.PytestConfigWarning
#
# 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
#
#
# https://github.com/pytest-dev/pytest-cov/issues/557
ignore:The --rsyncdir command line argument and rsyncdirs config variable are deprecated.:DeprecationWarning
# 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
ignore:distutils Version classes are deprecated. Use packaging.version instead:DeprecationWarning
ignore:Unknown units for CHANNEL:sunpy.util.exceptions.SunpyUserWarning
[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
known_first_party = sunkit_instruments
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 =
*/sunkit_instruments/__init__*
*/sunkit_instruments/*/tests/*
*/sunkit_instruments/*setup*
*/sunkit_instruments/conftest.py
*/sunkit_instruments/cython_version*
*/sunkit_instruments/data/_sample.py
*/sunkit_instruments/data/sample.py
*/sunkit_instruments/extern/*
*/sunkit_instruments/version*
sunkit_instruments/__init__*
sunkit_instruments/*/tests/*
sunkit_instruments/*setup*
sunkit_instruments/conftest.py
sunkit_instruments/cython_version*
sunkit_instruments/data/_sample.py
sunkit_instruments/data/sample.py
sunkit_instruments/extern/*
sunkit_instruments/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_