X-Git-Url: https://code.grnet.gr/git/ganeti-local/blobdiff_plain/dfe879ced4b6aa17cf4b0540484284ac2c07e2d3..32708d0a16c33d758b31aed191a9596727073b87:/pylintrc?ds=inline diff --git a/pylintrc b/pylintrc index 3fffb30..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_]*))$ @@ -93,6 +93,7 @@ ignore-docstrings = yes # Enable all checker(s) except those with the given id(s). This option # conflicts with the enable-checker option #disable-checker= +disable-checker=similarities # Enable all messages in the listed categories (IRCWEF). #enable-msg-cat= @@ -104,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