summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2021-11-07 22:37:55 +0100
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2021-11-07 23:30:46 +0100
commit12f2842fff3beefec621212247ae87523b0d7103 (patch)
treeccf76cf4896a875e3e368811a6f5a77e2a84d4a8
parentf112b399a83073a7f1335efd2f98bf54594e1d77 (diff)
downloadpylint-git-12f2842fff3beefec621212247ae87523b0d7103.tar.gz
Add two missing litteral in typing for module stats
-rw-r--r--pylint/utils/linterstats.py4
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"""