问题
Checking code with pylint
shows so many messages about variable names as follows:
Invalid name "getCurrentChannel" for type method (should match [a-z_][a-z0-9_]{2,30}$)
How can I disable these messages ?
回答1:
pylint --disable=C0103 filename
Running this command will not show messages for "Invalid variable name".
来源:https://stackoverflow.com/questions/21778497/disable-warning-message-of-pylint