Edgewall Software
Modify

Opened 9 years ago

Closed 7 years ago

#12218 closed enhancement (fixed)

Make file should accept optional module or package name for pylint command

Reported by: Ryan J Ollos Owned by: Ryan J Ollos
Priority: normal Milestone: 1.2.2
Component: general Version:
Severity: normal Keywords: makefile pylint bitesized
Cc: Branch:
Release Notes:

Filename, module or package can be passed to make pylint.

API Changes:
Internal Changes:

Description

make pylint generates a huge amount of output, which can be overwhelming if you just want to check a few files before submitting a patch or committing a change. It would be useful if, for example, make pylint trac.ticket.model or make pylint trac/ticket/model.py would only run pylint for the specified module.

Attachments (0)

Change History (5)

comment:1 by Ryan J Ollos, 9 years ago

Keywords: bitesized added

comment:2 by Christian Boos, 9 years ago

Milestone: next-major-releasesnext-dev-1.3.x
Owner: set to Christian Boos
Status: newassigned

This, and maybe try to see if we could benefit from autopep8.

comment:3 by Ryan J Ollos, 7 years ago

Milestone: next-dev-1.3.x1.2.2
Owner: changed from Christian Boos to Ryan J Ollos
Release Notes: modified (diff)

comment:4 by Ryan J Ollos, 7 years ago

Milestone: 1.2.21.2.3
Release Notes: modified (diff)

I tried supporting make pylint and make pylint=module_or_pkg, but could not figure out how to make it work. Instead, the proposed changes support make pylint and make pylint module=module_or_pkg: [f744ff10c/rjollos.git].

comment:5 by Ryan J Ollos, 7 years ago

Milestone: 1.2.31.2.2
Resolution: fixed
Status: assignedclosed

Committed to 1.2-stable in r16033, merged to trunk in r16034.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Ryan J Ollos to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.