mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-15 16:49:52 +00:00
Command "setup.py flake8" should check setup.py too
This commit is contained in:
parent
cdeb482a68
commit
ee00aa1d66
1 changed files with 2 additions and 0 deletions
|
|
@ -120,6 +120,8 @@ class Flake8Command(setuptools.Command):
|
||||||
if self.distribution.py_modules:
|
if self.distribution.py_modules:
|
||||||
for filename in self.distribution.py_modules:
|
for filename in self.distribution.py_modules:
|
||||||
yield "%s.py" % filename
|
yield "%s.py" % filename
|
||||||
|
# Don't miss the setup.py file itself
|
||||||
|
yield "setup.py"
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
# Prepare
|
# Prepare
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue