This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Add a lint command to distutils
Type: enhancement Stage: resolved
Components: Distutils2 Versions: 3rd party
process
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: tarek Nosy List: eric.araujo, tarek
Priority: normal Keywords:

Created on 2010-04-11 14:17 by eric.araujo, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (4)
msg102834 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2010-04-11 14:17
Add a command to run lint tools such as Python -3, pep8, pyflakes, pychecker, pylint.

I think this should not be a subcommand of test.

The idea comes from buildutils (http://pypi.python.org/pypi/buildutils/).
msg102835 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2010-04-11 14:18
Also, think about running reindent.py and lib2to3 fixers such as idioms or ws_comma.
msg117693 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2010-09-30 02:07
There has been a lengthy discussion on the fellowship-of-the-packaging ML about what should or should not be a command.  One side argues that distutils commands should only concern themselves with packaging, distributing and installing, the other side defends that distutils, like a makefile, is a place to put useful functionality for developers.  test is in a gray area, lint even more.  I’ll ask for feedback on this later.
msg213362 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2014-03-13 08:22
This is better done by tools outside of the standard library.
History
Date User Action Args
2022-04-11 14:56:59adminsetgithub: 52616
2014-03-13 08:22:48eric.araujosetstatus: open -> closed
resolution: remind -> rejected
messages: + msg213362

stage: resolved
2010-09-30 02:07:14eric.araujosetresolution: remind
messages: + msg117693
versions: + 3rd party, - Python 3.3
2010-04-11 14:18:20eric.araujosetmessages: + msg102835
2010-04-11 14:17:04eric.araujocreate