forked from sunpy/sunpy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.cfg
More file actions
92 lines (84 loc) · 3.01 KB
/
setup.cfg
File metadata and controls
92 lines (84 loc) · 3.01 KB
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]
package_name = sunpy
description = SunPy: Python for Solar Physics
long_descripton = An open-source Python library for Solar Physics data analysis and visualization.
author = The SunPy Community
author_email = sunpy@googlegroups.com
license = BSD 2-Clause
url = https://sunpy.org
edit_on_github = True
github_project = sunpy/sunpy
install_requires = numpy>=1.11, astropy>=3.1, scipy, pandas>=0.12.0, matplotlib>=1.3
# Extra Requirements
extra_requires = database, image, jpeg2000, net, tests, docs, asdf
database_requires = sqlalchemy
image_requires = scikit-image
jpeg2000_requires = glymur
net_requires = drms, zeep, beautifulsoup4, python-dateutil
asdf_requires = asdf
tests_requires = pytest, pytest-cov, pytest-mock, pytest-xdist, hypothesis, pytest-astropy, pytest-rerunfailures
docs_requires = ruamel.yaml, sphinx, sunpy-sphinx-theme, sphinx-gallery, sphinx-astropy, towncrier
# version should be PEP386 compatible (http://www.python.org/dev/peps/pep-0386)
version = 1.0.0.dev
# Note: you will also need to change this in your package's __init__.py
minimum_python_version = 3.6
[ah_bootstrap]
auto_use = True
[build_docs]
source-dir = docs
build-dir = docs/_build
all_files = 1
[tool:pytest]
minversion = 3.0
testpaths = "sunpy" "docs"
# Skip sunpy/data to prevent importing the sample data (there are no tests in that dir anyway)
norecursedirs = ".tox" "build" "docs[\/]_build" "docs[\/]generated" "*.egg-info" "astropy_helpers" "examples" "sunpy[\/]data"
doctest_plus = enabled
doctest_optionflags = NORMALIZE_WHITESPACE FLOAT_CMP ELLIPSIS
addopts = -p no:warnings --doctest-rst
markers =
online: marks this test function as needing online connectivity.
figure: marks this test function as using hash-based Matplotlib figure verification. This mark is not meant to be directly applied, but is instead automatically applied when a test function uses the @sunpy.tests.helpers.figure_test decorator.
# Disable internet access for tests not marked remote_data
remote_data_strict = True
[pycodestyle]
max_line_length = 100
[flake8]
max-line-length = 100
[isort]
line_length = 100
not_skip = __init__.py
sections = FUTURE, STDLIB, THIRDPARTY, ASTROPY, FIRSTPARTY, LOCALFOLDER
default_section = THIRDPARTY
known_first_party = sunpy
known_astropy = astropy, asdf
multi_line_output = 0
balanced_wrapping = True
include_trailing_comma = false
length_sort = True
[coverage:run]
source = sunpy
omit =
sunpy/conftest.py
sunpy/cython_version*
sunpy/*setup*
sunpy/extern/*
sunpy/*/tests/*
sunpy/version*
sunpy/__init__*
sunpy/data/sample.py
sunpy/data/_sample.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}
six.PY{ignore_python_version}