summaryrefslogtreecommitdiffstats
path: root/.pylintrc
diff options
context:
space:
mode:
authorCalum Lind <calumlind+deluge@gmail.com>2016-11-11 20:43:36 +0000
committerCalum Lind <calumlind+deluge@gmail.com>2016-11-11 22:21:51 +0000
commit0cdf0230e9ed25bae37766b44cf081db4d845cf0 (patch)
treef6966ed836ab389b4a220f80446ce431aefa139f /.pylintrc
parentc8e6a4476d038376caacbba66805e4aaf2a1b575 (diff)
downloaddeluge-0cdf0230e9ed25bae37766b44cf081db4d845cf0.tar.gz
deluge-0cdf0230e9ed25bae37766b44cf081db4d845cf0.tar.bz2
deluge-0cdf0230e9ed25bae37766b44cf081db4d845cf0.zip
[GTKUI] Refactor gtk imports and code
* Where possible use 'from gtk import ...', i.e. if repeated often or under 10 individual imports. * Remove osx_check to not show svg. It's only an issue on Windows so should work fine... * Rearrange and deduplicate code into d.u.g.common for getting pixbuf from files. * Use 'from gtk.gdk import...' to make it cleaner to apply GTK3 changes in future. * Move generic icon code from torrent_data_funcs to common. * Fix pylint import warnings and add WindowsError to pylintrc file.
Diffstat (limited to '.pylintrc')
-rw-r--r--.pylintrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.pylintrc b/.pylintrc
index b086bff2d..fee37b3af 100644
--- a/.pylintrc
+++ b/.pylintrc
@@ -281,7 +281,7 @@ dummy-variables-rgx=_$|dummy
# List of additional names supposed to be defined in builtins. Remember that
# you should avoid to define new builtins when possible.
-additional-builtins=_,_n,__request__
+additional-builtins=_,_n,__request__,WindowsError
# List of strings which can identify a callback function by name. A callback
# name must start or end with one of those strings.