pylintrc
changeset 11216 efecb78bf929
parent 0 b97547f5f1fa
child 11219 0796b6191cea
--- 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