2017-10-21 14:19:28 +01:00
|
|
|
[metadata]
|
2022-03-24 18:06:26 +02:00
|
|
|
license_files = LICENSE
|
2017-10-21 14:19:28 +01:00
|
|
|
|
2008-03-18 19:37:05 +00:00
|
|
|
[egg_info]
|
2015-03-14 16:46:24 +09:00
|
|
|
tag_build = .dev
|
2008-03-18 19:37:05 +00:00
|
|
|
tag_date = true
|
|
|
|
|
|
|
|
|
|
[aliases]
|
2017-04-02 18:58:22 +09:00
|
|
|
release = egg_info -Db ''
|
2013-02-05 09:19:52 +01:00
|
|
|
upload = upload --sign --identity=36580288
|
2008-03-18 19:37:05 +00:00
|
|
|
|
2015-03-07 15:45:43 +09:00
|
|
|
[flake8]
|
2016-12-24 21:03:41 +09:00
|
|
|
max-line-length = 95
|
2022-07-12 22:55:57 +01:00
|
|
|
ignore = E116,E241,E251,E741,W504,I101,B006,B023
|
2020-11-15 17:11:18 +09:00
|
|
|
exclude = .git,.tox,.venv,tests/roots/*,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
|
2020-11-15 17:11:18 +09:00
|
|
|
per-file-ignores =
|
|
|
|
|
tests/*: E501
|
2017-02-24 13:39:51 -05:00
|
|
|
|
2020-11-11 12:00:27 +01:00
|
|
|
[isort]
|
|
|
|
|
line_length = 95
|
|
|
|
|
|
2017-10-02 19:23:59 +01:00
|
|
|
[mypy]
|
2020-03-07 10:54:24 +09:00
|
|
|
python_version = 3.6
|
2019-12-29 23:56:30 +09:00
|
|
|
disallow_incomplete_defs = True
|
2017-10-03 10:53:06 +01:00
|
|
|
show_column_numbers = True
|
|
|
|
|
show_error_context = True
|
2022-06-16 19:50:01 +01:00
|
|
|
show_error_codes = 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
|
2022-06-16 19:50:01 +01:00
|
|
|
no_implicit_optional = True
|
2022-07-02 11:04:31 +01:00
|
|
|
warn_redundant_casts = True
|
2017-10-21 15:52:46 +01:00
|
|
|
|
2018-01-06 13:22:47 +09:00
|
|
|
[tool:pytest]
|
|
|
|
|
filterwarnings =
|
2018-10-29 23:59:31 +09:00
|
|
|
all
|
2018-01-06 13:22:47 +09:00
|
|
|
ignore::DeprecationWarning:docutils.io
|
2020-05-04 00:27:38 +09:00
|
|
|
ignore::DeprecationWarning:pyximport.pyximport
|
2020-12-29 19:09:15 +09:00
|
|
|
ignore::ImportWarning:importlib._bootstrap
|
2019-05-12 15:21:03 +09:00
|
|
|
markers =
|
|
|
|
|
apidoc
|
|
|
|
|
setup_command
|
2020-03-12 16:41:34 +01:00
|
|
|
testpaths = tests
|
2018-01-06 13:22:47 +09:00
|
|
|
|
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
|