Command "setup.py flake8" should check setup.py too

This commit is contained in:
Florent Xicluna 2014-04-27 00:42:32 +02:00
parent cdeb482a68
commit ee00aa1d66

View file

@ -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