summaryrefslogtreecommitdiff
path: root/tests/extensions/test_empty_comment.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/extensions/test_empty_comment.py')
-rw-r--r--tests/extensions/test_empty_comment.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/extensions/test_empty_comment.py b/tests/extensions/test_empty_comment.py
index b53f31d2f..42d1b51f2 100644
--- a/tests/extensions/test_empty_comment.py
+++ b/tests/extensions/test_empty_comment.py
@@ -3,6 +3,7 @@ from pathlib import Path
import pytest
from pylint.extensions import empty_comment
+from pylint.lint.pylinter import PyLinter
@pytest.fixture(scope="module")
@@ -20,7 +21,7 @@ def disable():
return ["all"]
-def test_comment_base_case(linter):
+def test_comment_base_case(linter: PyLinter) -> None:
comment_test = str(Path(__file__).parent.joinpath("data", "empty_comment.py"))
linter.check([comment_test])
msgs = linter.reporter.messages