Files
sphinx/setup.cfg
T

77 lines
1.5 KiB
INI
Raw Normal View History

2017-10-21 14:19:28 +01:00
[metadata]
license_file = LICENSE
2008-03-18 19:37:05 +00:00
[egg_info]
tag_build = .dev
2008-03-18 19:37:05 +00:00
tag_date = true
[aliases]
release = egg_info -Db ''
upload = upload --sign --identity=36580288
2008-03-18 19:37:05 +00:00
2017-10-21 14:19:28 +01:00
[build_sphinx]
warning-is-error = 1
2008-08-08 10:54:00 +00:00
[extract_messages]
mapping_file = babel.cfg
output_file = sphinx/locale/sphinx.pot
keywords = _ __ l_ lazy_gettext
2008-08-08 10:54:00 +00:00
[update_catalog]
input_file = sphinx/locale/sphinx.pot
domain = sphinx
output_dir = sphinx/locale/
[compile_catalog]
domain = sphinx
directory = sphinx/locale/
2015-03-07 15:45:43 +09:00
[flake8]
2016-12-24 21:03:41 +09:00
max-line-length = 95
2018-07-16 21:03:32 +09:00
ignore = E116,E241,E251,E741,W504,I101
2017-11-03 20:58:21 +00:00
exclude = .git,.tox,.venv,tests/*,build/*,doc/_build/*,sphinx/search/*,doc/usage/extensions/example*.py
2018-01-28 01:52:16 +09:00
application-import-names = sphinx
import-order-style = smarkets
2017-02-24 13:39:51 -05:00
[flake8:local-plugins]
extension =
X101 = utils.checks:sphinx_has_header
2018-01-28 15:20:50 +09:00
paths =
.
2017-10-02 19:23:59 +01:00
[mypy]
python_version = 3.5
disallow_incomplete_defs = True
2017-10-03 10:53:06 +01:00
show_column_numbers = True
show_error_context = True
2017-10-02 19:23:59 +01:00
ignore_missing_imports = True
follow_imports = skip
check_untyped_defs = True
warn_unused_ignores = True
2018-05-03 10:23:34 +09:00
strict_optional = False
2017-10-21 15:52:46 +01:00
[tool:pytest]
filterwarnings =
2018-10-29 23:59:31 +09:00
all
ignore::DeprecationWarning:docutils.io
2019-05-12 15:21:03 +09:00
markers =
sphinx
apidoc
setup_command
test_params
2020-03-12 16:41:34 +01:00
testpaths = tests
2017-10-21 15:52:46 +01:00
[coverage:run]
branch = True
2020-03-05 22:28:35 +09:00
parallel = True
2017-10-21 15:52:46 +01: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