docs: configure default_role=literal
This configures the default role for interpreted text (single backticks), avoiding the need to check for / enforce double backticks. Fixes also one instance in the existing changelog: - Detect `pytest_` prefixed hooks using the internal plugin manager since ``pluggy`` is deprecating the ``implprefix`` argument to ``PluginManager``. (`#3487 <https://github.com/pytest-dev/pytest/issues/3487>`_)
This commit is contained in:
parent
58ec5bea35
commit
be722652f0
|
@ -37,10 +37,6 @@ repos:
|
||||||
hooks:
|
hooks:
|
||||||
- id: pyupgrade
|
- id: pyupgrade
|
||||||
args: [--py3-plus]
|
args: [--py3-plus]
|
||||||
- repo: https://github.com/pre-commit/pygrep-hooks
|
|
||||||
rev: v1.4.0
|
|
||||||
hooks:
|
|
||||||
- id: rst-backticks
|
|
||||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
||||||
rev: v0.740
|
rev: v0.740
|
||||||
hooks:
|
hooks:
|
||||||
|
|
|
@ -92,7 +92,7 @@ exclude_patterns = [
|
||||||
|
|
||||||
|
|
||||||
# The reST default role (used for this markup: `text`) to use for all documents.
|
# The reST default role (used for this markup: `text`) to use for all documents.
|
||||||
# default_role = None
|
default_role = "literal"
|
||||||
|
|
||||||
# If true, '()' will be appended to :func: etc. cross-reference text.
|
# If true, '()' will be appended to :func: etc. cross-reference text.
|
||||||
# add_function_parentheses = True
|
# add_function_parentheses = True
|
||||||
|
|
Loading…
Reference in New Issue