[totem/wip/hadess/re-enable-pylint: 8/10] opensubtitles: Ignore "Too many instance attributes" warning
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem/wip/hadess/re-enable-pylint: 8/10] opensubtitles: Ignore "Too many instance attributes" warning
- Date: Mon, 27 Jun 2022 12:36:19 +0000 (UTC)
commit aae02e1e5dfcb0100f460f0b622d16bac45d2165
Author: Bastien Nocera <hadess hadess net>
Date: Thu Jun 23 16:24:39 2022 +0200
opensubtitles: Ignore "Too many instance attributes" warning
src/plugins/opensubtitles/opensubtitles.py:157:0: R0902: Too many instance attributes (8/7)
(too-many-instance-attributes)
src/plugins/opensubtitles/opensubtitles.py | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/plugins/opensubtitles/opensubtitles.py b/src/plugins/opensubtitles/opensubtitles.py
index e6b9b984e..3163c377b 100644
--- a/src/plugins/opensubtitles/opensubtitles.py
+++ b/src/plugins/opensubtitles/opensubtitles.py
@@ -154,6 +154,7 @@ def _cache_subtitles_dir ():
bpath += 'totem' + sep + 'subtitles' + sep
return bpath
+# pylint: disable=R0902
class SearchThread (threading.Thread):
"""
This is the thread started when the dialog is searching for subtitles
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]