mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-17 22:06:27 +00:00
[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:
parent
9be1bd523a
commit
3ec8dc6858
@ -64,13 +64,13 @@ confidence=
|
|||||||
# Category per line (wrapped categories are indented) using symbolic names instead of ids.
|
# 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,
|
disable=missing-docstring, invalid-name, old-style-class, bad-continuation, wrong-import-position,
|
||||||
wrong-import-order,
|
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,
|
locally-disabled,
|
||||||
R,
|
R,
|
||||||
unused-argument, fixme, protected-access, import-error, unused-variable,
|
unused-argument, fixme, protected-access, import-error, unused-variable,
|
||||||
global-statement, attribute-defined-outside-init, arguments-differ,
|
global-statement, attribute-defined-outside-init, arguments-differ,
|
||||||
no-init, non-parent-init-called, super-init-not-called,
|
no-init, super-init-not-called,
|
||||||
broad-except, pointless-except
|
broad-except
|
||||||
|
|
||||||
[REPORTS]
|
[REPORTS]
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@ MAX_LOGGER_NAME_LENGTH = 10
|
|||||||
|
|
||||||
class Logging(LoggingLoggerClass):
|
class Logging(LoggingLoggerClass):
|
||||||
def __init__(self, logger_name):
|
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
|
# This makes module name padding increase to the biggest module name
|
||||||
# so that logs keep readability.
|
# so that logs keep readability.
|
||||||
|
@ -7,6 +7,8 @@
|
|||||||
# See LICENSE for more details.
|
# See LICENSE for more details.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
# pylint: disable=super-on-old-class
|
||||||
|
|
||||||
import gtk
|
import gtk
|
||||||
from twisted.internet import defer
|
from twisted.internet import defer
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user