Issue 8369: Add a lint command to distutils (original) (raw)

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:59 admin set github: 52616
2014-03-13 08:22:48 eric.araujo set status: open -> closedresolution: remind -> rejectedmessages: + stage: resolved
2010-09-30 02:07:14 eric.araujo set resolution: remindmessages: + versions: + 3rd party, - Python 3.3
2010-04-11 14🔞20 eric.araujo set messages: +
2010-04-11 14:17:04 eric.araujo create