update and enhance pylintrc
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 19 Jan 2016 13:24:44 +0100
changeset 11216 efecb78bf929
parent 11215 4e79acdc36a6
child 11217 1f686f55ef3d
update and enhance pylintrc
pylintrc
--- a/pylintrc	Wed Mar 16 11:56:32 2016 +0100
+++ b/pylintrc	Tue Jan 19 13:24:44 2016 +0100
@@ -1,16 +1,28 @@
+[MASTER]
+load-plugins=cubicweb.pylintext
+
 [MESSAGES CONTROL]
-disable-msg = C0301
+disable = too-many-ancestors,too-many-instance-attributes,too-many-public-methods,
+      too-few-public-methods,too-many-arguments,import-error
 
 [VARIABLES]
-# Enable / disable this checker
-enable-variables = yes
-additional-builtins = _, display_name
+additional-builtins=_,display_name
 
 [BASIC]
-required-attributes=
 attr-rgx = (w|[a-z_][a-z0-9_]{2,30})
 variable-rgx = (w|[a-z_][a-z0-9_]{2,30})$
 argument-rgx = (w|[a-z_][a-z0-9_]{2,30})$
+good-names=w,_
 
 [TYPECHECK]
 generated-members=debug,info,notice,warning,error,critical,exception
+
+[CLASSES]
+exclude-protected=_cw,_cnx,
+      # namedtuple public API.
+      _asdict,_fields,_replace,_source,_make
+
+
+[FORMAT]
+max-line-length=100
+max-module-lines=2000