-
Notifications
You must be signed in to change notification settings - Fork 19
/
setup.cfg
103 lines (92 loc) · 2.69 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
[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 = speclite
description = Lightweight utilities for working with spectroscopic data
long_description = This package provides a set of lightweight utilities for working with spectroscopic data in astronomy. Based on the astropy affiliated package template.
author = Speclite Developers
author_email = [email protected]
license = BSD
url = https://speclite.readthedocs.io/
edit_on_github = True
github_project = desihub/speclite
install_requires = astropy scipy pyyaml
# version should be PEP440 compatible, e.g. 0.8 or 0.8.dev (http://www.python.org/dev/peps/pep-0440)
version = 1.0.dev
# [options.entry_points]
# console_scripts =
# speclite_benchmark = speclite.benchmark:main
[entry_points]
speclite_benchmark = speclite.benchmark:main
[options.extras_require]
test =
pytest-astropy
docs =
sphinx-astropy
[tool:pytest]
testpaths = "speclite" "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 =
speclite/_astropy_init*
speclite/conftest.py
speclite/*setup_package*
speclite/tests/*
speclite/*/tests/*
speclite/extern/*
speclite/version*
*/speclite/_astropy_init*
*/speclite/conftest.py
*/speclite/*setup_package*
*/speclite/tests/*
*/speclite/*/tests/*
*/speclite/extern/*
*/speclite/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