-
Notifications
You must be signed in to change notification settings - Fork 9
/
setup.cfg
108 lines (97 loc) · 2.88 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
[build_sphinx]
source-dir = docs
build-dir = docs/_build
all_files = 1
[build_docs]
source-dir = docs
build-dir = docs/_build
all_files = 1
[upload_docs]
upload-dir = docs/_build/html
show-response = 1
[ah_bootstrap]
auto_use = True
[metadata]
package_name = specsim
description = Quick simulations of fiber spectrograph response
long_description = Quick simulations of fiber spectrograph response
author = Specsim Developers
author_email = dkirkby@uci.edu
license = BSD
url = https://github.com/desihub/specsim
edit_on_github = True
github_project = desihub/specsim
install_requires = astropy scipy pyyaml speclite
# version should be PEP440 compatible (http://www.python.org/dev/peps/pep-0440)
# e.g., 0.12.dev or 0.12
version = 0.19.dev
# [options.entry_points]
# console_scripts =
# quickspecsim = specsim.quickspecsim:main
# quickfiberloss = specsim.quickfiberloss:main
# fitgalsim = specsim.fitgalsim:main
[entry_points]
quickspecsim = specsim.quickspecsim:main
quickfiberloss = specsim.quickfiberloss:main
fitgalsim = specsim.fitgalsim:main
[options.extras_require]
docs =
sphinx-astropy
desiutil @ https://github.com/desihub/desiutil/archive/refs/tags/3.4.2.tar.gz
desimodel @ https://github.com/desihub/desimodel/archive/refs/tags/0.19.1.tar.gz
[tool:pytest]
testpaths = "specsim" "docs"
norecursedirs = build docs/_build
astropy_header = true
doctest_plus = enabled
text_file_format = rst
# addopts = --doctest-glob=*.rst
addopts = --doctest-rst
[coverage:run]
relative_files = True
omit =
specsim/_astropy_init*
specsim/conftest.py
specsim/*setup_package*
specsim/tests/*
specsim/*/tests/*
specsim/extern/*
specsim/version*
*/specsim/_astropy_init*
*/specsim/conftest.py
*/specsim/*setup_package*
*/specsim/tests/*
*/specsim/*/tests/*
*/specsim/extern/*
*/specsim/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_
[pep8]
# E101 - mix of tabs and spaces
# W191 - use of tabs
# W291 - trailing whitespace
# W292 - no newline at end of file
# W293 - trailing whitespace
# W391 - blank line at end of file
# E111 - 4 spaces per indentation level
# E112 - 4 spaces per indentation level
# E113 - 4 spaces per indentation level
# E901 - SyntaxError or IndentationError
# E902 - IOError
select = E101,W191,W291,W292,W293,W391,E111,E112,E113,E901,E902
exclude = extern,sphinx,*parsetab.py
[flake8]
select = E101,W191,W291,W292,W293,W391,E111,E112,E113,E901,E902