python3 support: pylint, W1622 # (next-method-called) Called a next() method on an object
authorAndrey Skvortsov <andrej.skvortzov@gmail.com>
Fri, 12 Oct 2018 11:35:15 +0300
changeset 2454 2e5acbded4a1
parent 2453 9900a8df922f
child 2455 80b225e9a6b6
python3 support: pylint, W1622 # (next-method-called) Called a next() method on an object
svgui/pyjs/lib/pyjslib.py
tests/tools/check_source.sh
--- a/svgui/pyjs/lib/pyjslib.py	Fri Oct 12 11:14:34 2018 +0300
+++ b/svgui/pyjs/lib/pyjslib.py	Fri Oct 12 11:35:15 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,nonzero-method
+# pylint: disable=too-many-function-args,undefined-variable,no-absolute-import,assign-to-new-keyword,nonzero-method,next-method-called
 
 # iteration from Bob Ippolito's Iteration in JavaScript
 
--- a/tests/tools/check_source.sh	Fri Oct 12 11:14:34 2018 +0300
+++ b/tests/tools/check_source.sh	Fri Oct 12 11:35:15 2018 +0300
@@ -372,6 +372,7 @@
     enable=$enable,W1611          # (standarderror-builtin) StandardError built-in referenced
     enable=$enable,W1624          # (indexing-exception) Indexing exceptions will not work on Python 3
     enable=$enable,W1625          # (raising-string) Raising a string exception
+    enable=$enable,W1622          # (next-method-called) Called a next() method on an object
     # enable=
 
     options=