python3 support: pylint, W1629 # (nonzero-method) __nonzero__ method defined
--- a/svgui/pyjs/lib/pyjslib.py Wed Oct 10 10:26:27 2018 +0300
+++ b/svgui/pyjs/lib/pyjslib.py Wed Oct 10 10:32:57 2018 +0300
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-# pylint: disable=too-many-function-args,undefined-variable,no-absolute-import,assign-to-new-keyword
+# pylint: disable=too-many-function-args,undefined-variable,no-absolute-import,assign-to-new-keyword,nonzero-method
# iteration from Bob Ippolito's Iteration in JavaScript
--- a/tests/tools/check_source.sh Wed Oct 10 10:26:27 2018 +0300
+++ b/tests/tools/check_source.sh Wed Oct 10 10:32:57 2018 +0300
@@ -363,6 +363,7 @@
enable=$enable,W1659 # (xreadlines-attribute) Accessing a removed xreadlines attribute
enable=$enable,W1607 # (file-builtin) file built-in referenced
enable=$enable,W1606 # (execfile-builtin) execfile built-in referenced
+ enable=$enable,W1629 # (nonzero-method) __nonzero__ method defined
# enable=
options=