Call pyflakes api better

This commit is contained in:
Anthony Sottile 2018-12-31 19:14:02 -08:00
parent 7f50c3acc4
commit 22b00100ab

View file

@ -97,7 +97,7 @@ class FlakesChecker(pyflakes.checker.Checker):
with_doctest = True
super(FlakesChecker, self).__init__(
tree, filename, withDoctest=with_doctest
tree, filename=filename, withDoctest=with_doctest
)
@classmethod