From ee00aa1d66b9ce4a270796b18caf55462923647a Mon Sep 17 00:00:00 2001 From: Florent Xicluna Date: Sun, 27 Apr 2014 00:42:32 +0200 Subject: [PATCH] Command "setup.py flake8" should check setup.py too --- flake8/main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flake8/main.py b/flake8/main.py index b33faa2..d09535c 100644 --- a/flake8/main.py +++ b/flake8/main.py @@ -120,6 +120,8 @@ class Flake8Command(setuptools.Command): if self.distribution.py_modules: for filename in self.distribution.py_modules: yield "%s.py" % filename + # Don't miss the setup.py file itself + yield "setup.py" def run(self): # Prepare