Philipp Hörist pushed to branch master at gajim / gajim
Commits:
5b23d487 by Philipp Hörist at 2018-09-18T17:02:48Z
Fix undefined-loop-variable pylint error
- - - - -
46ed4757 by Philipp Hörist at 2018-09-18T17:03:14Z
Update pre-push-tests.sh
- - - - -
2 changed files:
- gajim/htmltextview.py
- scripts/dev/pre-push-tests.sh
Changes:
=====================================
gajim/htmltextview.py
=====================================
--- a/gajim/htmltextview.py
+++ b/gajim/htmltextview.py
@@ -498,7 +498,7 @@ class HtmlHandler(xml.sax.handler.ContentHandler):
log.warning('Style attribute "%s" not yet implemented', style)
else:
__style_methods[style] = method
- del style
+ del style # pylint: disable=undefined-loop-variable
# --
def _get_style_tags(self):
=====================================
scripts/dev/pre-push-tests.sh
=====================================
--- a/scripts/dev/pre-push-tests.sh
+++ b/scripts/dev/pre-push-tests.sh
@@ -12,5 +12,27 @@ pylint --jobs=2
--disable=C0103,C0302,C0330,C0411,C0412,C0413,E0203,E0401,E0611,
# E0611 no-name-in-module
# E0710 raising-non-exception - GLib.GError is not recognized
# E0712 catching-non-exception - GLib.GError is not recognized
+# E1101 no-member
+# E1102 not-callable
+# E1128 assignment-from-none
+# E1133 not-an-iterable
+# E1136 unsubscriptable-object
# R0201 no-self-use
-# W0143 comparison-with-callable - Dont add to Server CI, only available on
pylint 2.0+
\ No newline at end of file
+# R0901 too-many-ancestors
+# R0904 too-many-public-methods
+# R0913 too-many-arguments
+# R0916 too-many-boolean-expressions
+# R1702
+# R1706
+# R1711
+# R1716
+# W0143 comparison-with-callable - Dont add to Server CI, only available on
pylint 2.0+
+# W0201 attribute-defined-outside-init
+# W0212 protected-access
+# W0221 arguments-differ
+# W0223 abstract-method
+# W0311 bad-indentation
+# W0401 wildcard-import
+# W0603 global-statement
+# W0613 unused-argument
+# W0614 unused-wildcard-import
\ No newline at end of file
View it on GitLab:
https://dev.gajim.org/gajim/gajim/compare/7fcd85f0266727556b474298abd84145bddcb912...46ed4757fd60bc3458d400dccb688d193763e337
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/compare/7fcd85f0266727556b474298abd84145bddcb912...46ed4757fd60bc3458d400dccb688d193763e337
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits