-
-
Notifications
You must be signed in to change notification settings - Fork 46
/
setup.cfg
60 lines (55 loc) · 2.04 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
[metadata]
name = sphinx-automodapi
description = Sphinx extension for auto-generating API documentation for entire modules
long_description = file:README.rst
long_description_content_type = text/x-rst
author = The Astropy Developers
author_email = astropy.team@gmail.com
license = BSD 3-Clause License
url = https://github.com/astropy/sphinx-automodapi
classifiers =
Development Status :: 3 - Alpha
Intended Audience :: Developers
Programming Language :: Python
Programming Language :: Python :: 3
Operating System :: OS Independent
License :: OSI Approved :: BSD License
[options]
zip_safe = False
packages = find:
python_requires = >=3.8
install_requires =
sphinx>=4
[options.extras_require]
test =
pytest
pytest-cov
cython
coverage
setuptools;python_version>='3.12'
rtd =
# https://github.com/readthedocs/sphinx_rtd_theme/issues/1463
sphinx<7
sphinx-rtd-theme
[options.package_data]
sphinx_automodapi = templates/*/*.rst
sphinx_automodapi.tests = cases/*/*.*, cases/*/*/*.*, cases/*/*/*/*.*, cases/*/*/*/*/*.*, duplicated_warning/docs/*
[tool:pytest]
minversion = 4.6
testpaths = sphinx_automodapi
xfail_strict = true
filterwarnings =
error
ignore:The `docutils\.parsers\.rst\.directive\.html` module will be removed:DeprecationWarning
ignore:'contextfunction' is renamed to 'pass_context':DeprecationWarning
ignore:'environmentfilter' is renamed to 'pass_environment':DeprecationWarning
ignore:distutils Version classes are deprecated:DeprecationWarning
ignore:'imghdr' is deprecated and slated for removal in Python 3.13:DeprecationWarning
ignore:The alias 'sphinx\.util\.SkipProgressMessage' is deprecated
ignore:The alias 'sphinx\.util\.progress_message' is deprecated
ignore:Deprecated call to.*pkg_resources\.declare_namespace:DeprecationWarning
# pip 23.1 issue:
ignore:pkg_resources is deprecated as an API:DeprecationWarning
[flake8]
max-line-length = 125
exclude = sphinx_automodapi/tests/test_autodoc_enhancements.py,sphinx_automodapi/tests/test_automodapi.py