diff options
author | bendikro <bro.devel+deluge@gmail.com> | 2016-05-02 14:07:32 +0200 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2016-05-06 12:44:45 +0100 |
commit | 3ec8dc6858f55083d7523673b5a211337eb76581 (patch) | |
tree | 5e2a03674f480329790f1b41996d194c09766a0a | |
parent | 9be1bd523aea4c7218da1693e444f179f1cbc400 (diff) | |
download | deluge-3ec8dc6858f55083d7523673b5a211337eb76581.tar.gz deluge-3ec8dc6858f55083d7523673b5a211337eb76581.tar.bz2 deluge-3ec8dc6858f55083d7523673b5a211337eb76581.zip |
[Lint] Remove warnings from .pylintrc
Remove warnings from ignore list in .pylintrc:
* super-on-old-class
* pointless-except
* non-parent-init-called
-rw-r--r-- | .pylintrc | 6 | ||||
-rw-r--r-- | deluge/log.py | 2 | ||||
-rw-r--r-- | deluge/ui/gtkui/dialogs.py | 2 |
3 files changed, 6 insertions, 4 deletions
@@ -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] diff --git a/deluge/log.py b/deluge/log.py index 4c2c9b620..eab4eaaa6 100644 --- a/deluge/log.py +++ b/deluge/log.py @@ -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. diff --git a/deluge/ui/gtkui/dialogs.py b/deluge/ui/gtkui/dialogs.py index 97172571a..6a5a616e6 100644 --- a/deluge/ui/gtkui/dialogs.py +++ b/deluge/ui/gtkui/dialogs.py @@ -7,6 +7,8 @@ # See LICENSE for more details. # +# pylint: disable=super-on-old-class + import gtk from twisted.internet import defer |