Skip to content

Commit

Permalink
ignore missing imports mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
stgm committed Oct 11, 2022
1 parent e675ebd commit 98d6352
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/_extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
@t.test(1000)
def mypy_ok(test):
def testMethod():
p = subprocess.run(['mypy', '--strict', test.fileName], capture_output=True, universal_newlines=True)
p = subprocess.run(['mypy', '--strict', '--ignore-missing-imports', test.fileName], capture_output=True, universal_newlines=True)
return p.returncode == 0, p.stdout

def report(output):
Expand Down

0 comments on commit 98d6352

Please sign in to comment.