python3 support: pylint, W1653 # (next-method-defined) next method defined
authorAndrey Skvortsov <andrej.skvortzov@gmail.com>
Fri, 12 Oct 2018 11:50:40 +0300
changeset 2455 80b225e9a6b6
parent 2454 2e5acbded4a1
child 2456 7373e3048167
python3 support: pylint, W1653 # (next-method-defined) next method defined
svgui/pyjs/lib/pyjslib.py
tests/tools/check_source.sh
--- a/svgui/pyjs/lib/pyjslib.py	Fri Oct 12 11:35:15 2018 +0300
+++ b/svgui/pyjs/lib/pyjslib.py	Fri Oct 12 11:50:40 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,next-method-called
+# pylint: disable=too-many-function-args,undefined-variable,no-absolute-import,assign-to-new-keyword,nonzero-method,next-method-called,next-method-defined
 
 # iteration from Bob Ippolito's Iteration in JavaScript
 
--- a/tests/tools/check_source.sh	Fri Oct 12 11:35:15 2018 +0300
+++ b/tests/tools/check_source.sh	Fri Oct 12 11:50:40 2018 +0300
@@ -373,6 +373,7 @@
     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=$enable,W1653          # (next-method-defined) next method defined
     # enable=
 
     options=