
May 17, 2020
6:33 p.m.
Hello, I try to configure pylint so that the naming conventions of Java are avoided e.g. method names with get, set, test or print within the name. I have set the entry for testing: method-rgx=^((?!get).)*$ But my function def get_print(): print(„test“) Is not found. So my question is, what is the correct expression to disallow any method which contains get, set, test or print and match the default snake_case definition? Thanks Phil