Returning none

Skip Montanaro skip at
Sat Aug 28 01:50:35 CEST 1999

    Paul> I would accept this type of compromise if Python had a way of
    Paul> integrating "lint" into the edit/compile/run cycle. Most
    Paul> developers don't remember to "pylint" six modules just because
    Paul> they changed each of them in the last hour.

The same problem existed in the days when lint functionality was separate
from the C compiler.  People just had lint targets in their Makefiles.  So
you add a pylint target to your Makefile, something like (GNU make syntax):

	pylint: $( $< | tee $@

Then all you have to do is remember to "make pylint" periodically.

Skip Montanaro |
skip at |
847-971-7098   | Python: Programming the way Guido indented...

More information about the Python-list mailing list