From 8fd308699c2e4dc453cab50014615ed763702c2a Mon Sep 17 00:00:00 2001 From: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Date: Tue, 7 Jun 2022 17:33:10 -0700 Subject: [PATCH] Update flake8-rst-docstrings (#8033) Fixes #8032 Co-authored-by: hauntsaninja <> --- stubs/flake8-rst-docstrings/flake8_rst_docstrings.pyi | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/stubs/flake8-rst-docstrings/flake8_rst_docstrings.pyi b/stubs/flake8-rst-docstrings/flake8_rst_docstrings.pyi index 3b3605b88..1ccdb3d63 100644 --- a/stubs/flake8-rst-docstrings/flake8_rst_docstrings.pyi +++ b/stubs/flake8-rst-docstrings/flake8_rst_docstrings.pyi @@ -13,7 +13,12 @@ code_mapping_severe: dict[str, int] code_mappings_by_level: dict[int, dict[str, int]] def code_mapping( - level: int, msg: str, extra_directives: Container[str], extra_roles: Container[str], default: int = ... + level: int, + msg: str, + extra_directives: Container[str], + extra_roles: Container[str], + extra_substitutions: Container[str], + default: int = ..., ) -> int: ... class reStructuredTextChecker: