-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.cfg
128 lines (116 loc) · 3.75 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
[tool:pytest]
minversion = 2.2
testpaths = "EclipsingBinaries" "docs"
# norecursedirs = build docs/_build
doctest_plus = enabled
addopts = --doctest-rst
filterwarnings=
error
ignore:numpy\.ufunc size changed:RuntimeWarning
ignore:numpy.ndarray size changed:RuntimeWarning
ignore:`np.bool` is a deprecated alias for the builtin `bool`:DeprecationWarning
markers =
data_size(N): set dimension of square data array for ccd_data fixture
data_scale(s): set the scale of the normal distribution used to generate data
data_mean(m): set the center of the normal distribution used to generate data
[metadata]
name = EclipsingBinaries
description = "Binary Star Package for Ball State University's Astronomy Research Group"
long_description = file:README.md
long_description_content_type = text/markdown
url = https://eclipsingbinaries.readthedocs.io/
version = attr: EclipsingBinaries.__version__
author = Kyle Koeller
license = MIT
# edit_on_github = False
github_project = kjkoeller/EclipsingBinaries
[options]
packages = find:
zip_safe = False
setup_requires = setuptools_scm
install_requires =
astropy>=5.2.2
astroquery>=0.4.6
ccdproc>=2.4.0
matplotlib>=3.5.1
numpy>=1.22.3
pandas>=1.4.2
PyAstronomy>=0.18.1
scipy>=1.9.3
statsmodels>=0.13.5
tqdm>=4.64.1
numba>=0.57.0
seaborn>=0.12.2
pyia<=1.41
photutils>=1.8.0
sphinx >=5
python_requires = >=3.8
test_require = pytest
include_package_data = True
[aliases]
test = pytest
[options.extras_require]
docs =
sphinx-astropy
matplotlib
[options.packages.find]
exclude =
EclipsingBinaries.examples
[pycodestyle]
# PEP8 errors/warnings:
# (partially) taken from
# https://pycodestyle.readthedocs.io/en/latest/intro.html#error-codes
# E101 - mix of tabs and spaces
# E111 - 4 spaces per indentation level
# E112 - 4 spaces per indentation level
# E113 - 4 spaces per indentation level
# E221 - multiple spaces before operator
# E222 - multiple spaces after operator
# E223 - tab before operator
# E224 - tab after operator
# E225 - missing whitespace around operator
# E241 - multiple whitespace after ','
# E242 - tab after ','
# E251 - unexpected spaces around keyword / parameter equals
# E271 - multiple spaces after keyword
# E272 - multiple spaces before keyword
# E303 - too many blank lines
# E304 - blank lines found after function decorator
# E502 - the backslash is redundant between brackets
# E703 - statement ends with a semicolon
# E901 - SyntaxError or IndentationError
# E902 - IOError
# W191 - indentation contains tabs
# W291 - trailing whitespace
# W292 - no newline at end of file
# W293 - blank line contains whitespace
# W391 - blank line at end of file
select = E101,E111,E112,E113,E221,E222,E223,E224,E225,E241,E242,E251,E271,E272,E303,E304,E502,E703,E901,E902,W191,W291,W292,W293,W391
# PEP errors to ignore
# ignore = ...
[options.entry_points]
console_scripts =
EclipsingBinaries = EclipsingBinaries.menu:main
EB_pipeline = EclipsingBinaries.pipeline:monitor_directory
EB_HCorr = EclipsingBinaries.headerCorrect:header_correct
[flake8]
max-line-length = 100
[coverage:run]
source = EclipsingBinaries
omit =
*/EclipsingBinaries/examples/*
*/EclipsingBinaries/docs/*
*/EclipsingBinaries/tests/*
[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}