"W0622 total_comments: Redefining built-in 'object'" added to pylint msg ignores.

svn path=/plone.app.discussion/trunk/; revision=39323
This commit is contained in:
Timo Stollenwerk 2010-08-28 19:48:40 +00:00
parent 318afe5aae
commit 946ff36190
2 changed files with 4 additions and 2 deletions

View File

@ -16,7 +16,7 @@ from plone.app.discussion.interfaces import IConversation, IComment
from plone.indexer import indexer from plone.indexer import indexer
MAX_DESCRIPTION=25 MAX_DESCRIPTION = 25
# Conversation Indexers # Conversation Indexers

View File

@ -64,7 +64,7 @@ arguments = [
'--output-format=parseable', '--output-format=parseable',
'--zope=y', '--zope=y',
'--reports=y', '--reports=y',
'--disable-msg=E0611,F0401,W0232,E1101,C0103,C0111,R0201,W0201,R0911,R0904,F0220,E1103,R0901,E0211,E0213,E1002', '--disable-msg=E0611,F0401,W0232,E1101,C0103,C0111,R0201,W0201,R0911,R0904,F0220,E1103,R0901,E0211,E0213,E1002,W0622',
'--generated-members=objects', '--generated-members=objects',
] + sys.argv[1:] ] + sys.argv[1:]
@ -85,6 +85,8 @@ arguments = [
# - Reason: raises an error on zope.interface definitions # - Reason: raises an error on zope.interface definitions
# E1002 Use super on an old style class # E1002 Use super on an old style class
# - Reason: super(CommentsViewlet, self).update() raises an error # - Reason: super(CommentsViewlet, self).update() raises an error
# W0622 total_comments: Redefining built-in 'object'
# - Reason: top level def function will not work (e.g. for catalog indexers)
# ... # ...
# See http://pylint-messages.wikidot.com/all-messages for a full list. # See http://pylint-messages.wikidot.com/all-messages for a full list.