A bug I have encountered several times in Python code is writing:

  assert( x, "x should have been True" )

rather than:

  assert x, "x should have been True"

It would be great if pylint could catch this error.

James.
_______________________________________________
Python-Projects mailing list
Python-Projects@lists.logilab.org
http://lists.logilab.org/mailman/listinfo/python-projects

Reply via email to