-
-
Notifications
You must be signed in to change notification settings - Fork 55
/
setup.cfg
112 lines (102 loc) · 2.55 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
[metadata]
name = ablog
author = The SunPy Community
author_email = [email protected]
description = A Sphinx extension that converts any documentation or personal website project into a full-fledged blog.
long_description = file: README.rst
long_description_content_type = text/x-rst
license = MIT
url = https://ablog.readthedocs.io/
edit_on_github = True
github_project = sunpy/ablog
[options]
python_requires = >=3.10
package_dir=
=src
packages=find:
include_package_data = True
setup_requires =
setuptools_scm
install_requires =
docutils>=0.18
feedgen>=0.9.0
invoke>=1.6.0
packaging>=19.0
python-dateutil>=2.8.2
sphinx>=6.2.0
watchdog>=2.1.0
[options.packages.find]
where=src
[options.extras_require]
notebook =
ipython>=7.30.0
nbsphinx>=0.8.0
markdown =
myst-parser>=0.17.0
docs =
alabaster>=1.0.0
sphinx-automodapi
tests =
pytest
defusedxml>=0.8.0rc2
[options.entry_points]
console_scripts =
ablog = ablog.commands:ablog_main
[tool:pytest]
testpaths = "tests"
norecursedirs = ".tox" "build" "docs[\/]_build" "docs[\/]generated" "*.egg-info" ".history"
markers =
sphinx
addopts = -p no:unraisableexception -p no:threadexception
filterwarnings =
error
# Do not fail on pytest config issues (i.e. missing plugins) but do show them
always::pytest.PytestConfigWarning
# Sphinx and other packages raise these
ignore:'imghdr' is deprecated and slated for removal in Python 3.13:DeprecationWarning
# python-datetuil
ignore:datetime.datetime.utcfromtimestamp:DeprecationWarning
[pycodestyle]
max_line_length = 120
[flake8]
max-line-length = 120
[isort]
default_section = THIRDPARTY
force_grid_wrap = 0
include_trailing_comma = true
known_first_party = ablog
length_sort = False
length_sort_sections = stdlib
line_length = 120
multi_line_output = 3
skip = .history
sections = FUTURE, STDLIB, THIRDPARTY, FIRSTPARTY, LOCALFOLDER
[coverage:run]
omit =
*/ablog/__init__*
*/ablog/*/tests/*
*/ablog/*setup*
*/ablog/conftest.py
*/ablog/cython_version*
*/ablog/extern/*
*/ablog/version*
ablog/__init__*
ablog/*/tests/*
ablog/*setup*
ablog/conftest.py
ablog/cython_version*
ablog/extern/*
ablog/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}