-
Notifications
You must be signed in to change notification settings - Fork 141
/
setup.cfg
165 lines (153 loc) · 4.9 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
[metadata]
name = stingray
author = Stingray Developers
author_email = spectraltiming-stingray@googlegroups.com
license = MIT
license_file = LICENSE.rst
url = https://docs.stingray.science
description = Time Series Methods For Astronomical X-ray Data
long_description = file: README.rst
long_description_content_type = text/x-rst
edit_on_github = False
github_project = StingraySoftware/stingray
[options]
zip_safe = False
packages = find:
python_requires = >=3.8
setup_requires = setuptools_scm
install_requires =
setuptools
astropy>=4.0
numpy>=1.17.0
scipy>=1.1.0
; Matplotlib 3.4.0 is incompatible with Astropy
matplotlib>=3.0,!=3.4.0
[options.entry_points]
console_scripts =
astropy-package-template-example = packagename.example_mod:main
[options.extras_require]
all =
tbb
numba
jplephem
emcee>=3.0.0
statsmodels
corner
lightkurve
pyfftw
h5py
pint-pulsar
numcodecs
pyyaml
xarray
pyarrow
pandas
ultranest
jax
tinygp
jaxns
etils
tensorflow_probability
typing_extensions
test =
pytest
pytest-astropy
docs =
jinja2==3.1.3
docutils
sphinx-astropy
nbsphinx>=0.8.3,!=0.8.8
nbconvert<7.14
pandoc
ipython
towncrier<22.12.0
[options.package_data]
stingray.tests = data/*
stingray.pulse.tests = data/*
stingray = datasets/*
* = *.fits, *.evt, *.rmf, *.txt
[tool:pytest]
testpaths = "stingray" "docs"
doctest_plus = enabled
text_file_format = rst
addopts = --doctest-rst
filterwarnings =
error
ignore:Unrecognized parfile line:UserWarning
ignore:.*:ResourceWarning
ignore:distutils Version classes are deprecated.:DeprecationWarning
ignore:unclosed .ssl.SSLSocket:ResourceWarning
ignore:.*set self.value directly:DeprecationWarning
ignore:On Windows, the size of an integer is 32 bits:UserWarning
ignore:.*Number of segments used in averaging.*:UserWarning
ignore:.*:astropy.units.core.UnitsWarning
ignore:.*cannot be added to FITS Header:astropy.utils.exceptions.AstropyUserWarning
ignore:Numba not installed:UserWarning
ignore:More than 20 figures have been opened.:RuntimeWarning
ignore:This platform does not support:RuntimeWarning
ignore:Some error bars in the Averaged:UserWarning
ignore:n_ave is below 30:UserWarning
ignore:pyfftw not installed:UserWarning
ignore:SIMON says. Errorbars on cross spectra are not thoroughly tested.:UserWarning
ignore:SIMON says. Stingray only uses poisson err_dist at the moment.:UserWarning
ignore:SIMON says. Looks like your lightcurve:UserWarning
ignore:Matplotlib is currently using agg, which is a:UserWarning
ignore:Using or importing the ABCs from 'collections':DeprecationWarning
ignore:unclosed file:ResourceWarning
ignore:numpy.ufunc size changed:RuntimeWarning
ignore:numpy.ndarray size changed:RuntimeWarning
ignore:invalid value encountered:RuntimeWarning
ignore:divide by zero encountered:RuntimeWarning
ignore:underflow encountered:RuntimeWarning
ignore:overflow encountered:RuntimeWarning
ignore:table path was not set via the path= argument; using default path:UserWarning
ignore:Large Datasets may not be processed efficiently:UserWarning
ignore:.*is a deprecated alias for:DeprecationWarning
ignore:.*HIERARCH card will be created.*:
ignore:.*FigureCanvasAgg is non-interactive.*:UserWarning
ignore:.*jax.* deprecated:DeprecationWarning:
ignore:.*Converting to lower precision.*:UserWarning
ignore:.*is_categorical_dtype is deprecated.*:DeprecationWarning
ignore:.*datetime.datetime.utcfromtimestamp.*:DeprecationWarning
ignore:.*__array_wrap__ must accept context and return_scalar arguments:DeprecationWarning
ignore:.*Pyarrow:
ignore:.*Creating an ndarray from ragged nested sequences:
;addopts = --disable-warnings
[coverage:run]
omit =
stingray/_astropy_init*
stingray/conftest.py
stingray/*setup_package*
stingray/tests/*
stingray/*/tests/*
stingray/extern/*
stingray/version*
*/stingray/_astropy_init*
*/stingray/conftest.py
*/stingray/*setup_package*
*/stingray/tests/*
*/stingray/*/tests/*
*/stingray/extern/*
*/stingray/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_
[pycodestyle]
max-line-length = 100
exclude = extern,*parsetab.py,*lextab.py,test_*.py,__*.py
[flake8]
max-line-length = 100
exclude = extern,*parsetab.py,*lextab.py,test_*.py,__*.py
extend-ignore = E203, W503, W605