From 22b00100abb15dc2bdff86f65321f00f2f493311 Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Mon, 31 Dec 2018 19:14:02 -0800 Subject: [PATCH] Call pyflakes api better --- src/flake8/plugins/pyflakes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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