summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2020-10-30 18:31:14 +0100
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2020-11-29 11:59:49 +0100
commit843c1d834f3d8118f7b92e35188bd07baae45763 (patch)
tree6d41c4f2c30aebb89715ab74100e83c641473f8d
parent6eae833f930e8a23307a5f4b9ecc0770fe929eec (diff)
downloadpylint-git-843c1d834f3d8118f7b92e35188bd07baae45763.tar.gz
Add typing to constructor of LintModuleTest
-rw-r--r--pylint/testutils/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pylint/testutils/utils.py b/pylint/testutils/utils.py
index 5aec2a091..4107f234e 100644
--- a/pylint/testutils/utils.py
+++ b/pylint/testutils/utils.py
@@ -397,7 +397,7 @@ def multiset_difference(expected_entries: set, actual_entries: set) -> Tuple[set
class LintModuleTest:
maxDiff = None
- def __init__(self, test_file):
+ def __init__(self, test_file: FunctionalTestFile):
_test_reporter = FunctionalTestReporter()
self._linter = PyLinter()
self._linter.set_reporter(_test_reporter)