Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I get Pylint message IDs to show up after pylint-1.0.0?

Tags:

Starting with pylint-1.0.0 the --include-ids argument is no longer allowed.

How do I get:

************* Module foo.bar E:199,11: Module 'yaml' has no 'scanner' member (no-member) ************* Module foo.baz W:153,27: Unused variable '_filenames' (unused-variable) 

to show the IDs (e.g. W0142), for each warning?

like image 472
Jace Browning Avatar asked Aug 08 '13 18:08

Jace Browning


1 Answers

The new way to specify this is the command line parameter '--msg-template={path}:{line}: [{msg_id}({symbol}), {obj}] {msg}'.

like image 98
r3m0t Avatar answered Sep 28 '22 14:09

r3m0t