diff options
| -rw-r--r-- | .pylintrc | 11 | ||||
| -rw-r--r-- | pygerrit/stream.py | 3 |
2 files changed, 2 insertions, 12 deletions
@@ -50,10 +50,10 @@ load-plugins= #disable-msg-cat= # Enable the message(s) with the given id(s). -#enable-msg= +enable=RP0004 # Disable the message(s) with the given id(s). -disable-msg=R0903,R0912,R0913,R0914,R0915,W0141 +disable=R0903,R0912,R0913,R0914,R0915,W0141,RP0001,RP0003,RP0101,RP0002,RP0401,RP0701,RP0801 [REPORTS] @@ -84,13 +84,6 @@ evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / stateme # evaluation report (R0004). comment=no -# Enable the report(s) with the given id(s). -enable-report=R0004 - -# Disable the report(s) with the given id(s). -disable-report=R0001,R0003,R0101,R0002,R0401,R0701,R0801 - - # checks for # * unused variables / imports # * undefined variables diff --git a/pygerrit/stream.py b/pygerrit/stream.py index ed09e73..ba9525b 100644 --- a/pygerrit/stream.py +++ b/pygerrit/stream.py @@ -33,10 +33,7 @@ from threading import Thread, Event from pygerrit.error import GerritError from pygerrit.events import GerritEvent -# pylint: disable-msg=W0611 -# GerritEventFactory is used, but pylint does not detect it from pygerrit.events import GerritEventFactory -# pylint: enable-msg=W0611 @GerritEventFactory.register("gerrit-stream-error") |
