--- a/svgui/pyjs/lib/pyjslib.py Mon Oct 16 17:20:31 2017 +0300
+++ b/svgui/pyjs/lib/pyjslib.py Tue Oct 17 09:51:43 2017 +0300
@@ -186,9 +186,10 @@
""")
-# pylint: disable=C1001
+# pylint: disable=old-style-class
class Object:
- pass
+ def __init__(self):
+ pass
object = Object
--- a/tests/tools/check_source.sh Mon Oct 16 17:20:31 2017 +0300
+++ b/tests/tools/check_source.sh Tue Oct 17 09:51:43 2017 +0300
@@ -203,6 +203,7 @@
disable=$disable,W0621 # (redefined-outer-name) Redefining name 'Y' from outer scope (line X)
disable=$disable,W0122 # (exec-used) Use of exec
disable=$disable,W0123 # (eval-used) Use of eval
+ disable=$disable,I0011 # (locally-disabled) Locally disabling ungrouped-imports (C0412)
# It'd be nice to fix warnings below some day
disable=$disable,C0111 # missing-docstring
@@ -258,6 +259,7 @@
enable=$enable,E0401 # (import-error) Unable to import 'X'
enable=$enable,E1121 # (too-many-function-args) Too many positional arguments for function call
enable=$enable,E0602 # (undefined-variable) Undefined variable 'X'
+ enable=$enable,W0232 # (no-init) Class has no __init__ method
# enable=
options=