[Lint] Remove warnings from .pylintrc

Remove warnings from ignore list in .pylintrc:
* super-on-old-class
* pointless-except
* non-parent-init-called
This commit is contained in:
bendikro 2016-05-02 14:07:32 +02:00 committed by Calum Lind
parent 9be1bd523a
commit 3ec8dc6858
3 changed files with 6 additions and 4 deletions

View File

@ -64,13 +64,13 @@ confidence=
# Category per line (wrapped categories are indented) using symbolic names instead of ids.
disable=missing-docstring, invalid-name, old-style-class, bad-continuation, wrong-import-position,
wrong-import-order,
no-member, not-callable, no-name-in-module, super-on-old-class,
no-member, not-callable, no-name-in-module,
locally-disabled,
R,
unused-argument, fixme, protected-access, import-error, unused-variable,
global-statement, attribute-defined-outside-init, arguments-differ,
no-init, non-parent-init-called, super-init-not-called,
broad-except, pointless-except
no-init, super-init-not-called,
broad-except
[REPORTS]

View File

@ -34,7 +34,7 @@ MAX_LOGGER_NAME_LENGTH = 10
class Logging(LoggingLoggerClass):
def __init__(self, logger_name):
LoggingLoggerClass.__init__(self, logger_name)
super(Logging, self).__init__(logger_name)
# This makes module name padding increase to the biggest module name
# so that logs keep readability.

View File

@ -7,6 +7,8 @@
# See LICENSE for more details.
#
# pylint: disable=super-on-old-class
import gtk
from twisted.internet import defer