summaryrefslogtreecommitdiff
path: root/pylint/lint/message_state_handler.py
diff options
context:
space:
mode:
Diffstat (limited to 'pylint/lint/message_state_handler.py')
-rw-r--r--pylint/lint/message_state_handler.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/pylint/lint/message_state_handler.py b/pylint/lint/message_state_handler.py
index ddeeaa7bc..96d2412c5 100644
--- a/pylint/lint/message_state_handler.py
+++ b/pylint/lint/message_state_handler.py
@@ -1,6 +1,6 @@
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
-# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
-# Copyright (c) https://github.com/PyCQA/pylint/blob/main/CONTRIBUTORS.txt
+# For details: https://github.com/pylint-dev/pylint/blob/main/LICENSE
+# Copyright (c) https://github.com/pylint-dev/pylint/blob/main/CONTRIBUTORS.txt
from __future__ import annotations
@@ -55,9 +55,8 @@ class _MessageStateHandler:
"enable-msg": self._options_methods["enable"],
}
self._pragma_lineno: dict[str, int] = {}
- # TODO: 3.0: Update key type to str when current_name is always str
self._stashed_messages: defaultdict[
- tuple[str | None, str], list[tuple[str | None, str]]
+ tuple[str, str], list[tuple[str | None, str]]
] = defaultdict(list)
"""Some messages in the options (for --enable and --disable) are encountered
too early to warn about them.