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

前端 未结 2 1210
失恋的感觉
失恋的感觉 2020-12-15 05:12

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

How do I get:

************* Module foo.bar
E:19         


        
相关标签:
2条回答
  • 2020-12-15 05:45

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

    0 讨论(0)
  • 2020-12-15 05:54

    The proper command which can be used is

    python3 -m pylint --msg-template="{path}||{msg_id}||{symbol}||{category}||{line}||{column}||{msg}" sscript.py
    
    0 讨论(0)
提交回复
热议问题