summaryrefslogtreecommitdiff
path: root/buildscripts/linter/mypy.py
diff options
context:
space:
mode:
authorMathew Robinson <chasinglogic@gmail.com>2019-04-12 11:02:46 -0400
committerMathew Robinson <chasinglogic@gmail.com>2019-04-12 11:02:46 -0400
commitc6560dd65c6a2eac9f83045e6197d7dbce512c6e (patch)
treef4d8e7be4ccf0fe16d7bc73f30eb84ce4e0d5c37 /buildscripts/linter/mypy.py
parent3b94354b60bb9f3be1a73998f72b933dbab6a217 (diff)
downloadmongo-c6560dd65c6a2eac9f83045e6197d7dbce512c6e.tar.gz
SERVER-40549 Remove ignore_interpreter
Diffstat (limited to 'buildscripts/linter/mypy.py')
-rw-r--r--buildscripts/linter/mypy.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/buildscripts/linter/mypy.py b/buildscripts/linter/mypy.py
index 1189093dd2c..cb6205e5e10 100644
--- a/buildscripts/linter/mypy.py
+++ b/buildscripts/linter/mypy.py
@@ -30,14 +30,3 @@ class MypyLinter(base.LinterBase):
if 'idl' in file_name or 'linter' in file_name:
return [file_name]
return []
-
- def ignore_interpreter(self):
- # type: () -> bool
- # pylint: disable=no-self-use
- """
- Check if we should ignore the interpreter when searching for the linter to run.
-
- This applies to mypy specifically since the pylinters are executed under Python 2 but mypy
- is executed by python 3.
- """
- return True