diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-11-07 22:37:55 +0100 |
---|---|---|
committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-11-07 23:30:46 +0100 |
commit | 12f2842fff3beefec621212247ae87523b0d7103 (patch) | |
tree | ccf76cf4896a875e3e368811a6f5a77e2a84d4a8 | |
parent | f112b399a83073a7f1335efd2f98bf54594e1d77 (diff) | |
download | pylint-git-12f2842fff3beefec621212247ae87523b0d7103.tar.gz |
Add two missing litteral in typing for module stats
-rw-r--r-- | pylint/utils/linterstats.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pylint/utils/linterstats.py b/pylint/utils/linterstats.py index b4d41dd4e..5729ca40c 100644 --- a/pylint/utils/linterstats.py +++ b/pylint/utils/linterstats.py @@ -286,7 +286,9 @@ class LinterStats: def increase_single_module_message_count( self, modname: str, - type_name: Literal["convention", "error", "fatal", "info", "refactor"], + type_name: Literal[ + "convention", "error", "fatal", "info", "refactor", "statement", "warning" + ], increase: int, ) -> None: """Increase the message type count of an individual message type of a module""" |