X-Git-Url: https://code.grnet.gr/git/ganeti-local/blobdiff_plain/0dda8696090caa8604f1fc99a2d9e81c1d79f53e..7ba19f397098d69d4fbff3b34a2977e484838732:/pylintrc diff --git a/pylintrc b/pylintrc index 39c9236..a643211 100644 --- a/pylintrc +++ b/pylintrc @@ -25,7 +25,7 @@ required-attributes = no-docstring-rgx = .* module-rgx = (([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$ # added lower-case names -const-rgx = ((_{0,2}[A-Z][A-Z0-9_]*)|(__.*__)|(_?[a-z_][a-z0-9_]*))$ +const-rgx = ((_{0,2}[A-Za-z][A-Za-z0-9_]*)|(__.*__))$ class-rgx = _?[A-Z][a-zA-Z0-9]+$ # added lower-case names function-rgx = (_?([A-Z]+[a-z0-9]+([A-Z]+[a-z0-9]*)*)|main|([a-z_][a-z0-9_]*))$ @@ -105,4 +105,8 @@ disable-msg-cat= #enable-msg= # Disable the message(s) with the given id(s). -disable-msg=W0511 +disable-msg=W0511,R0922,W0201 + +# The new pylint 0.21+ style (plus the similarities checker, which is no longer +# a separate opiton, but a generic disable control) +disable=W0511,R0922,W0201,R0922,R0801,I0011