pylint --generate-rcfile显示如下:
[MESSAGES CONTROL]# Enable the message, report, category or checker with the given id(s). You can# either give multiple identifier separated by comma (,) or put this option# multiple time.#enable=# Disable the message, report, category or checker with the given id(s). You# can either give multiple identifier separated by comma (,) or put this option# multiple time (only on the command line, not in the configuration file where# it should appear only once).#disable=
因此,看起来您
~/.pylintrc应该
disable=在section中有一行
[MESSAGES CONTROL]。



