From: Matus Fabian Date: Tue, 23 Feb 2016 11:33:59 +0000 (+0100) Subject: Some changes in pylint configuration X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=commitdiff_plain;h=e9bf539548e36bc8648d055303982e977c5b57e9 Some changes in pylint configuration method name length changed from 30 to 40 max-args changed from 5 to 7 Change-Id: Iea3efc7c545236f97d230e6f99fce814d3598925 Signed-off-by: Matus Fabian --- diff --git a/pylint.cfg b/pylint.cfg index 37622580ac..3f94199be0 100644 --- a/pylint.cfg +++ b/pylint.cfg @@ -145,7 +145,7 @@ class-rgx=[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,40}$ # Regular expression which should only match correct instance attribute names attr-rgx=[a-z_][a-z0-9_]{2,30}$ @@ -242,7 +242,7 @@ int-import-graph= [DESIGN] # Maximum number of arguments for function / method -max-args=5 +max-args=7 # Argument names that match this expression will be ignored. Default to name # with leading underscore