Can Pylint error checking be customized?

后端 未结 6 2124
名媛妹妹
名媛妹妹 2021-02-02 07:25

I am using pydev where I have set up pylint. The problem is that even inside the comments, pylint reports warnings. I was looking to disable any sort of checking inside any line

6条回答
  •  情书的邮戳
    2021-02-02 07:56

    Although this is an old question, it should be mentioned one can now specify their own regex for matching with names.

    Then your regex to match camel case would be something like:

    [a-z][a-zA-Z0-9]{2,30}$
    

提交回复
热议问题