forked from sunpy/ndcube
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
92 lines (84 loc) · 2.3 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
[metadata]
name = ndcube
author = The SunPy Community
author_email = [email protected]
license = BSD 2-Clause
license_file = LICENSE.rst
url = http://docs.sunpy.org/projects/ndcube/
description = A package for multi-dimensional contiguious and non-contiguious coordinate aware arrays.
long_description = file: README.rst
[options]
zip_safe = False
packages = find:
python_requires = >=3.7
setup_requires = setuptools_scm
install_requires =
sunpy>=1.0.3
astropy>=3.1
matplotlib>=2
[options.extras_require]
test =
pytest < 5.4
pytest-astropy
docs =
sphinx
sphinx-automodapi
towncrier
sunpy-sphinx-theme
[tool:pytest]
testpaths = "ndcube" "docs"
norecursedirs = ".tox" "build" "docs[\/]_build" "docs[\/]generated" "*.egg-info" "astropy_helpers" "examples"
doctest_plus = enabled
doctest_optionflags = NORMALIZE_WHITESPACE FLOAT_CMP ELLIPSIS
text_file_format = rst
remote_data_strict = True
addopts = --doctest-rst -p no:warnings
[flake8]
exclude = extern,sphinx,*parsetab.py,conftest.py,docs/conf.py,setup.py
max-line-length = 110
[pycodestyle]
exclude = extern,sphinx,*parsetab.py,conftest.py,docs/conf.py,setup.py
max_line_length = 110
[isort]
line_length = 110
not_skip = __init__.py
sections = FUTURE, STDLIB, THIRDPARTY, FIRSTPARTY, LOCALFOLDER
default_section = THIRDPARTY
known_first_party = ndcube
known_third_party = astropy,matplotlib,numpy,pytest,setuptools
multi_line_output = 0
balanced_wrapping = True
include_trailing_comma = False
length_sort = False
length_sort_stdlib = True
[coverage:run]
omit =
ndcube/_sunpy_init*
ndcube/conftest.py
ndcube/*setup_package*
ndcube/tests/*
ndcube/*/tests/*
ndcube/extern/*
ndcube/version*
*/ndcube/_sunpy_init*
*/ndcube/conftest.py
*/ndcube/*setup_package*
*/ndcube/tests/*
*/ndcube/*/tests/*
*/ndcube/extern/*
*/ndcube/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_