This repository has been archived by the owner on Jun 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
setup.cfg
117 lines (104 loc) · 2.82 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
[metadata]
name = glowing_waffles
# version should be PEP440 compatible (https://www.python.org/dev/peps/pep-0440/)
author = Matt Craig
author_email = [email protected]
description = A package for performing stellar photometry.
long_description = This is a package for doing stellar photometry that relies on astropy.
license = BSD 3-Clause
license_file = licenses/LICENSE.rst
url = https://github.com/glowing-waffle/glowing-waffles
edit_on_github = False
github_project = glowing-waffle/glowing-waffles
[options]
install_requires =
astropy >=3.2.2
astroquery
ccdproc
ginga
ipywidgets
bottleneck
photutils
matplotlib
pandas
gatspy
pyyaml
astrowidgets
python_requires = >=3.6
setup_requires = setuptools_scm
zip_safe = False
use_2to3 = False
packages = find:
[options.extras_require]
test =
pytest
pytest-astropy
docs =
sphinx
sphinx-astropy
[options.package_data]
* = *.c
glowing_waffles = data/*
glowing_waffles.differential_photometry.tests = data/*
glowing_waffles.tests =
coveragerc
data/*
[tool:pytest]
minversion = 5.0
testpaths = "glowing_waffles" "docs"
astropy_header = true
norecursedirs = build docs/_build
doctest_plus = enabled
text_file_format = rst
addopts = -p no:warnings
[coverage:run]
source = glowing_waffles
omit =
*/_astropy_init*
*/conftest*
*/cython_version*
*/setup_package*
*/tests/*
*/version*
*/__init__.py
[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}
[flake8]
# 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,conftest.py,docs/conf.py,setup.py
[pycodestyle]
# 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,conftest.py,docs/conf.py,setup.py