summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnthony Sottile <asottile@umich.edu>2018-12-31 19:14:02 -0800
committerAnthony Sottile <asottile@umich.edu>2018-12-31 19:14:02 -0800
commit22b00100abb15dc2bdff86f65321f00f2f493311 (patch)
tree97ed0fe1f82fa15d57e59d5732b351ea70e07b59 /src
parent7f50c3acc4b98caff0d0f3fbd82de34c5fc93c8a (diff)
downloadflake8-22b00100abb15dc2bdff86f65321f00f2f493311.tar.gz
Call pyflakes api better
Diffstat (limited to 'src')
-rw-r--r--src/flake8/plugins/pyflakes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flake8/plugins/pyflakes.py b/src/flake8/plugins/pyflakes.py
index e2ef2c3..880373a 100644
--- a/src/flake8/plugins/pyflakes.py
+++ b/src/flake8/plugins/pyflakes.py
@@ -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