[Baypiggies] Anyone hack pylint to find assert errors?

Charles Merriam charles.merriam at gmail.com
Wed Apr 23 23:06:33 CEST 2008


Hi All,

I've run across the classic assert error problem one too many times:
     assert (False,  "Never triggered: The problem is in the tuple")

This will still be broken in Python 3.0, last I checked.  Anyone
figured out how to get PyLint to flag these?
I'd rather not have my own regex script.

Charles


More information about the Baypiggies mailing list