Permalink
Browse files

Customize pylintrc for this project

  • Loading branch information...
1 parent a11438d commit ec1172d7a624e7af275a838ddd36da9c0468e63f @paltman paltman committed Apr 19, 2013
Showing with 10 additions and 25 deletions.
  1. +10 −25 .pylintrc
View
@@ -2,32 +2,18 @@
load-plugins=pinax.checkers.style
[MESSAGES CONTROL]
-# Brain-dead errors regarding standard language features
-# W0142 = *args and **kwargs support
-# W0403 = Relative imports
-
# Pointless whinging
-# R0201 = Method could be a function
-# W0212 = Accessing protected attribute of client class
-# W0613 = Unused argument
-# W0232 = Class has no __init__ method
-# R0901 = Too Many Ancestors
-# R0903 = Too few public methods
-# R0904 = Too Many Public Methods
# C0111 = Missing docstring
+# R0904 = Too Many Public Methods
# I0011 = Locally Disabling
-# W0201 = Attribute X defined outside of __init__
-# R0801 = Similarities, Might be good to have but need to find a way to disable for deploy.*
-
-# Already an error when wildcard imports are used
-# W0614 = Unused import from wildcard
-
-# Seems to be broken?
-# E1102 = Not Callable
+# W0232 = Class has no __init__ method
+# R0903 = Too few public methods
+# R0922 = Only one child of abstract base class
+# R0201 = Method could be a function
+# W0511 = Turn off warnings for TODO comments
+# R0913 = Too many arguments
-# Broken with Django
-# E1101 = Instance X has not member Y. (This breaks with Django)
-disable=W0511,I0011,C0111,R0913,R0903,R0904,R0911,R0912,R0914,R0201,W0142,E0603,E1101,W0403,W0613,W0232,E1120,C0103
+disable=C0111,R0904,I0011,W0232,R0903,R0922,R0201,W0511,R0913
[REPORTS]
include-ids=yes
@@ -49,14 +35,13 @@ attr-rgx=[a-z_][a-z0-9_]{2,60}$
max-locals=20
[FORMAT]
-max-line-length=80
+max-line-length=100
[VARIABLES]
-
dummy-variables-rgx=^.*_$
[TYPECHECK]
-generated-members=DoesNotExist,MultipleObjectsReturned,objects,status_code,context,is_valid,cleaned_data,errors
+generated-members=_default_manager,objects,DoesNotExist
[MISCELLANEOUS]
notes=FIXME,XXX,TODO,@@@

0 comments on commit ec1172d

Please sign in to comment.