forked from spacetelescope/poppy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
111 lines (100 loc) · 2.43 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
[metadata]
name = poppy
description = Physical optics propagation (wavefront diffraction) for optical simulations, particularly of telescopes.
long_description = (this placeholder string will be replaced automatically with poppy's top-level docstring.)
author = Marshall Perrin
author_email = [email protected]
license = BSD
license_file = LICENSE.txt
url = https://poppy-optics.readthedocs.io/
edit_on_github = False
github_project = spacetelescope/poppy
# Python code quality checker
[flake8]
exclude: .git,__pycache__, test*
max-line-length = 120
[options]
zip_safe = False
packages = find:
install_requires =
numpy>=1.16.0
scipy>=1.0.0
matplotlib>=2.0.0
astropy>=3.2.0
python_requires = >=3.6
setup_requires = setuptools_scm
[options.extras_require]
test =
pytest
pytest-astropy
docs =
nbsphinx
stsci_rtd_theme
sphinx-astropy
sphinx_rtd_theme
sphinx-automodapi
sphinx-issues
[options.package_data]
* = *.fits, *.csv
poppy.tests = data/*
[tool:pytest]
minversion = 2.2
norecursedirs = build docs/_build
testpaths = poppy docs
astropy_header = true
doctest_plus = enabled
text_file_format = rst
addopts = -p no:warnings
[coverage:run]
source = poppy
omit =
poppy/conftest*
poppy/cython_version*
poppy/setup_package*
poppy/*/setup_package*
poppy/*/*/setup_package*
poppy/tests/*
poppy/*/tests/*
poppy/*/*/tests/*
poppy/version*
*/poppy/conftest*
*/poppy/cython_version*
*/poppy/setup_package*
*/poppy/*/setup_package*
*/poppy/*/*/setup_package*
*/poppy/tests/*
*/poppy/*/tests/*
*/poppy/*/*/tests/*
*/poppy/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}
omit =
poppy/conftest*
poppy/cython_version*
poppy/setup_package*
poppy/*/setup_package*
poppy/*/*/setup_package*
poppy/tests/*
poppy/*/tests/*
poppy/*/*/tests/*
poppy/version*
*/poppy/conftest*
*/poppy/cython_version*
*/poppy/setup_package*
*/poppy/*/setup_package*
*/poppy/*/*/setup_package*
*/poppy/tests/*
*/poppy/*/tests/*
*/poppy/*/*/tests/*
*/poppy/version*