diff options
author | Daniƫl van Noord <13665637+DanielNoord@users.noreply.github.com> | 2022-02-10 19:30:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-10 19:30:15 +0100 |
commit | 595ec422d6f9bd32f42c356d2f316ec69e0f7bee (patch) | |
tree | 766a12ddd91b43e09f670f913a4069bc7dc82d57 /pylint/utils/pragma_parser.py | |
parent | e3d5deca2886d9e2d5f2be2a252e39e02ae42b96 (diff) | |
download | pylint-git-595ec422d6f9bd32f42c356d2f316ec69e0f7bee.tar.gz |
Update ``pydocstringformatter`` to 0.4.0 (#5787)
Diffstat (limited to 'pylint/utils/pragma_parser.py')
-rw-r--r-- | pylint/utils/pragma_parser.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pylint/utils/pragma_parser.py b/pylint/utils/pragma_parser.py index 5ef4ef481..0bf25de7c 100644 --- a/pylint/utils/pragma_parser.py +++ b/pylint/utils/pragma_parser.py @@ -61,7 +61,7 @@ def emit_pragma_representer(action: str, messages: List[str]) -> PragmaRepresent class PragmaParserError(Exception): - """A class for exceptions thrown by pragma_parser module""" + """A class for exceptions thrown by pragma_parser module.""" def __init__(self, message: str, token: str) -> None: """:args message: explain the reason why the exception has been thrown @@ -73,11 +73,11 @@ class PragmaParserError(Exception): class UnRecognizedOptionError(PragmaParserError): - """Thrown in case the of a valid but unrecognized option""" + """Thrown in case the of a valid but unrecognized option.""" class InvalidPragmaError(PragmaParserError): - """Thrown in case the pragma is invalid""" + """Thrown in case the pragma is invalid.""" def parse_pragma(pylint_pragma: str) -> Generator[PragmaRepresenter, None, None]: |