forked from sunpy/sunkit-image
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
100 lines (90 loc) · 2.58 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
[metadata]
name = sunkit_image
package_name = sunkit_image
description = Sunkit-image: A toolbox for Solar Physics image processing
long_descripton = file: README.rst
author = The SunPy Community
author_email = [email protected]
license = BSD 2-Clause
url = https://sunpy.org
edit_on_github = True
github_project = sunpy/sunkit-image
version = 0.1.dev
classifiers =
'Programming Language :: Python'
'Programming Language :: Python :: 3'
'Programming Language :: Python :: 3.6'
'Programming Language :: Python :: 3.7'
[options]
python_requires = >=3.6
packages = find:
include_package_data = True
install_requires =
scikit-image
sunpy
[options.extras_require]
tests =
tox
pytest
pytest-astropy
pytest-astropy
docs =
sphinx
sunpy-sphinx-theme
sphinx-gallery
sphinx-astropy
towncrier
[ah_bootstrap]
auto_use = True
[build_docs]
source-dir = docs
build-dir = docs/_build
all_files = 1
[tool:pytest]
minversion = 3.0
testpaths = "sunkit_image" "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" "sunkit_image[\/]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]
multi_line_output=3
force_grid_wrap=0
use_parentheses=True
line_length = 100
not_skip = __init__.py
sections = FUTURE, STDLIB, THIRDPARTY, SUNPY, FIRSTPARTY, LOCALFOLDER
default_section = THIRDPARTY
known_first_party = sunkit_image
known_sunpy = sunpy
include_trailing_comma = True
length_sort = True
[coverage:run]
source = sunkit_image
omit =
sunkit_image/conftest.py
sunkit_image/*setup*
sunkit_image/*/tests/*
sunkit_image/version*
sunkit_image/__init__*
[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\(.*\):