diff options
Diffstat (limited to 'tools/pylint/pylintrc')
-rw-r--r-- | tools/pylint/pylintrc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/pylint/pylintrc b/tools/pylint/pylintrc index 45a25ea..b557774 100644 --- a/tools/pylint/pylintrc +++ b/tools/pylint/pylintrc @@ -33,7 +33,7 @@ load-plugins=unittest_checker,cim_provider_checker,allow_cmpi_logging # can either give multiple identifier separated by comma (,) or put this option # multiple time (only on the command line, not in the configuration file where # it should appear only once). -disable=I0011 +disable=I0011, W0142 [REPORTS] @@ -72,7 +72,7 @@ init-import=no # A regular expression matching the beginning of the name of dummy variables # (i.e. not used). -dummy-variables-rgx=_|dummy +dummy-variables-rgx=_|dummy|i # List of additional names supposed to be defined in builtins. Remember that # you should avoid to define new builtins when possible. @@ -125,7 +125,7 @@ class-rgx=(([A-Z_][a-zA-Z0-9]+)|([A-Z][a-zA-Z]*_[A-Z][a-zA-Z0-9]*))$ function-rgx=[a-z_][a-z0-9_]{2,30}$ # Regular expression which should only match correct method names -method-rgx=[a-z_][a-z0-9_]{2,30}$ +method-rgx=[a-z_][a-z0-9_]{2,49}$ # Regular expression which should only match correct instance attribute names attr-rgx=[a-z_][a-z0-9_]{2,30}$ @@ -134,7 +134,7 @@ attr-rgx=[a-z_][a-z0-9_]{2,30}$ argument-rgx=[a-z_][a-z0-9_]{2,30}$ # Regular expression which should only match correct variable names -variable-rgx=[a-z_][a-z0-9_]{2,30}$ +variable-rgx=[a-z_][a-z0-9_]{1,30}$ # Regular expression which should only match correct list comprehension / # generator expression variable names |