forked from astropy/ccdproc
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.cfg
116 lines (103 loc) · 3.31 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
[tool:pytest]
minversion = 2.2
testpaths = "ccdproc" "docs"
norecursedirs = build docs/_build
doctest_plus = enabled
addopts = --doctest-rst
filterwarnings=
error
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 = ccdproc
description = Astropy affiliated package
long_description = This is a package for reducing optical/IR CCD data that relies on astropy
author = Steve Crawford, Matt Craig, and Michael Seifert
author_email = ccdproc@gmail.com
license = BSD
url = http://ccdproc.readthedocs.io/
edit_on_github = False
github_project = astropy/ccdproc
[options]
packages = find:
zip_safe = False
setup_requires = setuptools_scm
install_requires = numpy>=1.18
astropy>=4.0.6 # Support LTS, but only with bug fixes
scipy
astroscrappy>=1.0.8
reproject>=0.7
scikit-image
python_requires = >=3.7
[options.package_data]
* = data/*
[options.extras_require]
test =
pytest-astropy
memory_profiler
docs =
sphinx-astropy
matplotlib
[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 = ...
# Excluding files that are directly copied from the package template or
# generated
exclude = _astropy_init.py,version.py
[entry_points]
[flake8]
max-line-length = 100
[coverage:run]
source = ccdproc
omit =
*/ccdproc/__init__*
*/ccdproc/conftest.py
*/ccdproc/*setup*
*/ccdproc/*/tests/*
*/ccdproc/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}