Edgewall Software

Opened 9 years ago

Last modified 7 years ago

#12218 closed enhancement

Make file should accept optional module or package name for pylint command — at Version 4

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.

Change History (4)

comment:1 by Ryan J Ollos, 9 years ago

Keywords: bitesized added

comment:2 by Christian Boos, 8 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].

Note: See TracTickets for help on using tickets.