mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-02 19:56: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:
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue