2017-10-21 08:19:28 -05:00
|
|
|
[metadata]
|
|
|
|
license_file = LICENSE
|
|
|
|
|
2008-03-18 14:37:05 -05:00
|
|
|
[egg_info]
|
2015-03-14 02:46:24 -05:00
|
|
|
tag_build = .dev
|
2008-03-18 14:37:05 -05:00
|
|
|
tag_date = true
|
|
|
|
|
|
|
|
[aliases]
|
2017-04-02 04:58:22 -05:00
|
|
|
release = egg_info -Db ''
|
2013-02-05 02:19:52 -06:00
|
|
|
upload = upload --sign --identity=36580288
|
2008-03-18 14:37:05 -05:00
|
|
|
|
2017-10-21 08:19:28 -05:00
|
|
|
[build_sphinx]
|
|
|
|
warning-is-error = 1
|
|
|
|
|
2008-08-08 05:54:00 -05:00
|
|
|
[extract_messages]
|
|
|
|
mapping_file = babel.cfg
|
|
|
|
output_file = sphinx/locale/sphinx.pot
|
2017-06-25 03:35:42 -05:00
|
|
|
keywords = _ __ l_ lazy_gettext
|
2008-08-08 05:54:00 -05:00
|
|
|
|
|
|
|
[update_catalog]
|
|
|
|
input_file = sphinx/locale/sphinx.pot
|
|
|
|
domain = sphinx
|
|
|
|
output_dir = sphinx/locale/
|
|
|
|
|
|
|
|
[compile_catalog]
|
|
|
|
domain = sphinx
|
|
|
|
directory = sphinx/locale/
|
2014-10-09 10:01:57 -05:00
|
|
|
|
2015-03-07 00:45:43 -06:00
|
|
|
[flake8]
|
2016-12-24 06:03:41 -06:00
|
|
|
max-line-length = 95
|
2018-07-16 07:03:32 -05:00
|
|
|
ignore = E116,E241,E251,E741,W504,I101
|
2020-11-15 02:11:18 -06:00
|
|
|
exclude = .git,.tox,.venv,tests/roots/*,build/*,doc/_build/*,sphinx/search/*,doc/usage/extensions/example*.py
|
2018-01-27 10:52:16 -06:00
|
|
|
application-import-names = sphinx
|
|
|
|
import-order-style = smarkets
|
2020-11-15 02:11:18 -06:00
|
|
|
per-file-ignores =
|
|
|
|
tests/*: E501
|
2017-02-24 12:39:51 -06:00
|
|
|
|
2018-01-26 03:41:50 -06:00
|
|
|
[flake8:local-plugins]
|
|
|
|
extension =
|
|
|
|
X101 = utils.checks:sphinx_has_header
|
2018-01-28 00:20:50 -06:00
|
|
|
paths =
|
|
|
|
.
|
2018-01-26 03:41:50 -06:00
|
|
|
|
2020-11-11 05:00:27 -06:00
|
|
|
[isort]
|
|
|
|
line_length = 95
|
|
|
|
|
2017-10-02 13:23:59 -05:00
|
|
|
[mypy]
|
2019-08-16 14:08:28 -05:00
|
|
|
python_version = 3.5
|
2019-12-29 08:56:30 -06:00
|
|
|
disallow_incomplete_defs = True
|
2017-10-03 04:53:06 -05:00
|
|
|
show_column_numbers = True
|
|
|
|
show_error_context = True
|
2017-10-02 13:23:59 -05:00
|
|
|
ignore_missing_imports = True
|
|
|
|
follow_imports = skip
|
|
|
|
check_untyped_defs = True
|
|
|
|
warn_unused_ignores = True
|
2018-05-02 20:23:34 -05:00
|
|
|
strict_optional = False
|
2017-10-21 09:52:46 -05:00
|
|
|
|
2018-01-05 22:22:47 -06:00
|
|
|
[tool:pytest]
|
|
|
|
filterwarnings =
|
2018-10-29 09:59:31 -05:00
|
|
|
all
|
2018-01-05 22:22:47 -06:00
|
|
|
ignore::DeprecationWarning:docutils.io
|
2020-05-03 10:27:38 -05:00
|
|
|
ignore::DeprecationWarning:pyximport.pyximport
|
2020-05-03 11:47:42 -05:00
|
|
|
ignore::PendingDeprecationWarning:sphinx.util.pycompat
|
2019-05-12 01:21:03 -05:00
|
|
|
markers =
|
|
|
|
apidoc
|
|
|
|
setup_command
|
2020-03-12 10:41:34 -05:00
|
|
|
testpaths = tests
|
2018-01-05 22:22:47 -06:00
|
|
|
|
2017-10-21 09:52:46 -05:00
|
|
|
[coverage:run]
|
|
|
|
branch = True
|
2020-03-05 07:28:35 -06:00
|
|
|
parallel = True
|
2017-10-21 09:52:46 -05:00
|
|
|
source = sphinx
|
|
|
|
|
|
|
|
[coverage:report]
|
|
|
|
exclude_lines =
|
|
|
|
# Have to re-enable the standard pragma
|
|
|
|
pragma: no cover
|
|
|
|
# Don't complain if tests don't hit defensive assertion code:
|
|
|
|
raise NotImplementedError
|
|
|
|
# Don't complain if non-runnable code isn't run:
|
|
|
|
if __name__ == .__main__.:
|
|
|
|
ignore_errors = True
|