sphinx/setup.cfg

83 lines
1.7 KiB
INI
Raw Normal View History

[metadata]
license_file = LICENSE
2008-03-18 14:37:05 -05:00
[egg_info]
tag_build = .dev
2008-03-18 14:37:05 -05:00
tag_date = true
[aliases]
release = egg_info -Db ''
upload = upload --sign --identity=36580288
2008-03-18 14:37:05 -05:00
[build_sphinx]
warning-is-error = 1
[extract_messages]
mapping_file = babel.cfg
output_file = sphinx/locale/sphinx.pot
keywords = _ __ l_ lazy_gettext
[update_catalog]
input_file = sphinx/locale/sphinx.pot
domain = sphinx
output_dir = sphinx/locale/
[compile_catalog]
domain = sphinx
directory = sphinx/locale/
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
[flake8:local-plugins]
extension =
X101 = utils.checks:sphinx_has_header
paths =
.
[isort]
line_length = 95
[mypy]
2020-03-06 19:54:24 -06:00
python_version = 3.6
disallow_incomplete_defs = True
show_column_numbers = True
show_error_context = True
ignore_missing_imports = True
follow_imports = skip
check_untyped_defs = True
warn_unused_ignores = True
strict_optional = False
[tool:pytest]
filterwarnings =
all
ignore::DeprecationWarning:docutils.io
ignore::DeprecationWarning:pyximport.pyximport
2020-12-29 04:09:15 -06:00
ignore::ImportWarning:importlib._bootstrap
markers =
apidoc
setup_command
testpaths = tests
[coverage:run]
branch = True
parallel = True
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