ant -f C:\\x3d-code\\www.web3d.org\\x3d\\stylesheets\\python -DXmaxwarns=1000 pylint build.package.x3d.py: X3D stylesheets.BuildX3dPythonPackageFromX3duom.saxon: Following output is for X3D version 4.0 in X3dPackageDirectory=python Result: created files C:\x3d-code\www.web3d.org\x3d\stylesheets/python/x3d.py and __init__.py PYTHONPATH=C:\x3d-code\www.web3d.org\x3d\stylesheets\python BuildX3dPythonPackageFromX3duom.saxon complete. set.local.PYTHONPATH: local.PYTHONPATH=C:\x3d-code\www.web3d.org\x3d\stylesheets\python test.x3d.py: Loading active PYTHONPATH x3d.py package in python to check for correctness... x3d.py package 4.0.64.4 loaded, have fun with X3D Graphics! pylint: python -m pylint x3d.py ************* Module python.x3d x3d.py:955:15: W0511: TODO undefined in X3D specification (fixme) x3d.py:956:16: W0511: TODO undefined in X3D specification (fixme) x3d.py:5449:21: W0511: TODO check further if possible (fixme) x3d.py:5454:29: W0511: TODO check further (fixme) x3d.py:5462:26: W0511: TODO check further if possible (fixme) x3d.py:5465:21: W0511: TODO check further if possible (fixme) x3d.py:5471:22: W0511: TODO check further if possible (fixme) x3d.py:10168:72: W0511: TODO disambiguate IS naming (fixme) x3d.py:10187:9: W0511: TODO put DEF first, matching canonical form (fixme) x3d.py:12070:9: W0511: TODO type-aware checks for field (fixme) x3d.py:12469:13: W0511: TODO matrices (fixme) x3d.py:12936:25: W0511: TODO check order of output: component unit meta (fixme) x3d.py:12975:25: W0511: TODO check order of output: component unit meta (fixme) x3d.py:12992:17: W0511: TODO check order of output: component unit meta (fixme) x3d.py:14063:9: W0511: TODO type-aware checks for field (fixme) x3d.py:14767:5: W0511: TODO confirm JSON Schema header (fixme) x3d.py:15040:1: W0511: def X_ITE(self): # TODO implement (fixme) x3d.py:28322:39: W0511: , _X3DProgrammableShaderObject # TODO fix additional inheritance method resolution order (MRO) (fixme) x3d.py:28391:9: W0511: TODO type-aware checks for field (fixme) x3d.py:53493:31: W0511: # TODO fix additional inheritance method resolution order (MRO) (fixme) x3d.py:53788:30: W0511: , _X3DGroupingNode # TODO fix additional inheritance method resolution order (MRO) (fixme) x3d.py:54115:35: W0511: # TODO fix additional inheritance method resolution order (MRO) (fixme) x3d.py:57650:34: W0511: , _X3DMetadataObject # TODO fix additional inheritance method resolution order (MRO) (fixme) x3d.py:57887:33: W0511: , _X3DMetadataObject # TODO fix additional inheritance method resolution order (MRO) (fixme) x3d.py:58124:32: W0511: , _X3DMetadataObject # TODO fix additional inheritance method resolution order (MRO) (fixme) x3d.py:58361:34: W0511: , _X3DMetadataObject # TODO fix additional inheritance method resolution order (MRO) (fixme) x3d.py:58598:30: W0511: , _X3DMetadataObject # TODO fix additional inheritance method resolution order (MRO) (fixme) x3d.py:58844:33: W0511: , _X3DMetadataObject # TODO fix additional inheritance method resolution order (MRO) (fixme) x3d.py:67192:39: W0511: , _X3DUrlObject, _X3DProgrammableShaderObject # TODO fix additional inheritance method resolution order (MRO) (fixme) x3d.py:67327:9: W0511: TODO type-aware checks for field (fixme) x3d.py:74256:38: W0511: # TODO fix additional inheritance method resolution order (MRO) (fixme) x3d.py:74784:9: W0511: TODO type-aware checks for fieldValue (fixme) x3d.py:76498:33: W0511: , _X3DBoundedObject # TODO fix additional inheritance method resolution order (MRO) (fixme) x3d.py:77205:43: W0511: , _X3DBoundedObject # TODO fix additional inheritance method resolution order (MRO) (fixme) x3d.py:79272:9: W0511: TODO type-aware checks for field (fixme) x3d.py:80141:29: W0511: , _X3DUrlObject # TODO fix additional inheritance method resolution order (MRO) (fixme) x3d.py:80456:32: W0511: , _X3DUrlObject, _X3DProgrammableShaderObject # TODO fix additional inheritance method resolution order (MRO) (fixme) x3d.py:80604:9: W0511: TODO type-aware checks for field (fixme) x3d.py:100108:1: W0511: TODO how to introspect the version number at run time from the object. Specifically, (fixme) x3d.py:1666:19: C0209: Formatting a regular string which could be a f-string (consider-using-f-string) x3d.py:5459:104: R1736: Unnecessary list index lookup, use 'each' instead (unnecessary-list-index-lookup) x3d.py:5458:23: W0612: Unused variable 'each' (unused-variable) x3d.py:5495:15: E1101: Instance of '_X3DField' has no '__value' member (no-member) x3d.py:5989:34: W0613: Unused argument 'value2' (unused-argument) x3d.py:5989:46: W0613: Unused argument 'value3' (unused-argument) x3d.py:6015:24: R1721: Unnecessary use of a comprehension, use list(value) instead. (unnecessary-comprehension) x3d.py:6112:24: R1721: Unnecessary use of a comprehension, use list(value) instead. (unnecessary-comprehension) x3d.py:6208:34: W0613: Unused argument 'value2' (unused-argument) x3d.py:6208:46: W0613: Unused argument 'value3' (unused-argument) x3d.py:6208:58: W0613: Unused argument 'value4' (unused-argument) x3d.py:6234:24: R1721: Unnecessary use of a comprehension, use list(value) instead. (unnecessary-comprehension) x3d.py:6331:24: R1721: Unnecessary use of a comprehension, use list(value) instead. (unnecessary-comprehension) x3d.py:6817:4: W0102: Dangerous default value [] as argument (dangerous-default-value) x3d.py:8139:30: E1101: Instance of 'list' has no 'XML' member (no-member) x3d.py:8148:30: E1101: Instance of 'list' has no 'VRML' member (no-member) x3d.py:8157:30: E1101: Instance of 'list' has no 'JSON' member (no-member) x3d.py:8199:34: W0613: Unused argument 'value2' (unused-argument) x3d.py:8199:46: W0613: Unused argument 'value3' (unused-argument) x3d.py:8199:58: W0613: Unused argument 'value4' (unused-argument) x3d.py:8225:24: R1721: Unnecessary use of a comprehension, use list(value) instead. (unnecessary-comprehension) x3d.py:8321:24: R1721: Unnecessary use of a comprehension, use list(value) instead. (unnecessary-comprehension) x3d.py:8808:34: W0613: Unused argument 'value2' (unused-argument) x3d.py:8834:24: R1721: Unnecessary use of a comprehension, use list(value) instead. (unnecessary-comprehension) x3d.py:8930:24: R1721: Unnecessary use of a comprehension, use list(value) instead. (unnecessary-comprehension) x3d.py:9025:34: W0613: Unused argument 'value2' (unused-argument) x3d.py:9051:24: R1721: Unnecessary use of a comprehension, use list(value) instead. (unnecessary-comprehension) x3d.py:9147:24: R1721: Unnecessary use of a comprehension, use list(value) instead. (unnecessary-comprehension) x3d.py:9242:34: W0613: Unused argument 'value2' (unused-argument) x3d.py:9242:46: W0613: Unused argument 'value3' (unused-argument) x3d.py:9268:24: R1721: Unnecessary use of a comprehension, use list(value) instead. (unnecessary-comprehension) x3d.py:9364:24: R1721: Unnecessary use of a comprehension, use list(value) instead. (unnecessary-comprehension) x3d.py:9459:34: W0613: Unused argument 'value2' (unused-argument) x3d.py:9459:46: W0613: Unused argument 'value3' (unused-argument) x3d.py:9485:24: R1721: Unnecessary use of a comprehension, use list(value) instead. (unnecessary-comprehension) x3d.py:9581:24: R1721: Unnecessary use of a comprehension, use list(value) instead. (unnecessary-comprehension) x3d.py:9676:34: W0613: Unused argument 'value2' (unused-argument) x3d.py:9676:46: W0613: Unused argument 'value3' (unused-argument) x3d.py:9676:58: W0613: Unused argument 'value4' (unused-argument) x3d.py:9702:24: R1721: Unnecessary use of a comprehension, use list(value) instead. (unnecessary-comprehension) x3d.py:9798:24: R1721: Unnecessary use of a comprehension, use list(value) instead. (unnecessary-comprehension) x3d.py:9893:34: W0613: Unused argument 'value2' (unused-argument) x3d.py:9893:46: W0613: Unused argument 'value3' (unused-argument) x3d.py:9893:58: W0613: Unused argument 'value4' (unused-argument) x3d.py:9919:24: R1721: Unnecessary use of a comprehension, use list(value) instead. (unnecessary-comprehension) x3d.py:10015:24: R1721: Unnecessary use of a comprehension, use list(value) instead. (unnecessary-comprehension) x3d.py:10168:46: W1116: Second argument of isinstance is not a type (isinstance-second-argument-not-valid-type) x3d.py:10188:11: E1101: Instance of '_X3DNode' has no 'FIELD_DECLARATIONS' member (no-member) x3d.py:10189:24: E1101: Instance of '_X3DNode' has no 'FIELD_DECLARATIONS' member (no-member) x3d.py:10193:16: W0612: Unused variable 'type_' (unused-variable) x3d.py:10194:16: W0612: Unused variable 'accessType' (unused-variable) x3d.py:11330:16: W0612: Unused variable 'type_' (unused-variable) x3d.py:11331:16: W0612: Unused variable 'accessType' (unused-variable) x3d.py:11394:4: W0231: __init__ method from base class '_X3DStatement' is not called (super-init-not-called) x3d.py:11407:33: W0613: Unused argument 'syntax' (unused-argument) x3d.py:11415:34: W0613: Unused argument 'VRML97' (unused-argument) x3d.py:11423:34: W0613: Unused argument 'syntax' (unused-argument) x3d.py:11597:19: W0613: Unused argument 'indentLevel' (unused-argument) x3d.py:11597:34: W0613: Unused argument 'VRML97' (unused-argument) x3d.py:11762:34: W0613: Unused argument 'VRML97' (unused-argument) x3d.py:11945:34: W0613: Unused argument 'VRML97' (unused-argument) x3d.py:12259:8: W0622: Redefining built-in 'type' (redefined-builtin) x3d.py:12326:19: W0622: Redefining built-in 'type' (redefined-builtin) x3d.py:12633:19: W0622: Redefining built-in 'type' (redefined-builtin) x3d.py:12858:4: W0231: __init__ method from base class '_X3DStatement' is not called (super-init-not-called) x3d.py:13173:34: W0613: Unused argument 'VRML97' (unused-argument) x3d.py:13404:8: W0622: Redefining built-in 'dir' (redefined-builtin) x3d.py:13438:18: W0622: Redefining built-in 'dir' (redefined-builtin) x3d.py:13603:19: W0613: Unused argument 'indentLevel' (unused-argument) x3d.py:13603:34: W0613: Unused argument 'VRML97' (unused-argument) x3d.py:14386:34: W0613: Unused argument 'VRML97' (unused-argument) x3d.py:14549:0: C0103: Class name "unit" doesn't conform to PascalCase naming style (invalid-name) x3d.py:14726:19: W0613: Unused argument 'indentLevel' (unused-argument) x3d.py:14726:34: W0613: Unused argument 'VRML97' (unused-argument) x3d.py:15019:15: W0703: Catching too general exception Exception (broad-except) x3d.py:15001:12: C0415: Import outside toplevel (xmlschema) (import-outside-toplevel) x3d.py:15005:16: C0415: Import outside toplevel (xml.etree.ElementTree) (import-outside-toplevel) x3d.py:15015:47: E1101: Instance of 'SyntaxError' has no 'position' member (no-member) x3d.py:15024:43: E1101: Instance of 'Exception' has no 'position' member (no-member) x3d.py:15025:29: E1101: Instance of 'Exception' has no 'position' member (no-member) x3d.py:15026:55: E1101: Instance of 'Exception' has no 'position' member (no-member) x3d.py:15034:15: E0602: Undefined variable 'VRML' (undefined-variable) x3d.py:15032:21: W0613: Unused argument 'indentLevel' (unused-argument) x3d.py:15038:15: E0602: Undefined variable 'VRML' (undefined-variable) x3d.py:15036:26: W0613: Unused argument 'indentLevel' (unused-argument) x3d.py:15044:20: W0613: Unused argument 'indentLevel' (unused-argument) x3d.py:19009:8: W0622: Redefining built-in 'type' (redefined-builtin) x3d.py:19179:19: W0622: Redefining built-in 'type' (redefined-builtin) x3d.py:42082:8: W0622: Redefining built-in 'range' (redefined-builtin) x3d.py:42212:20: W0622: Redefining built-in 'range' (redefined-builtin) x3d.py:56286:8: W0622: Redefining built-in 'range' (redefined-builtin) x3d.py:56364:20: W0622: Redefining built-in 'range' (redefined-builtin) x3d.py:61264:8: W0622: Redefining built-in 'type' (redefined-builtin) x3d.py:61342:19: W0622: Redefining built-in 'type' (redefined-builtin) x3d.py:68156:8: W0622: Redefining built-in 'type' (redefined-builtin) x3d.py:68221:19: W0622: Redefining built-in 'type' (redefined-builtin) x3d.py:69295:4: W0102: Dangerous default value [] as argument (dangerous-default-value) x3d.py:74516:8: W0622: Redefining built-in 'type' (redefined-builtin) x3d.py:74557:19: W0622: Redefining built-in 'type' (redefined-builtin) x3d.py:80182:8: W0622: Redefining built-in 'type' (redefined-builtin) x3d.py:80261:19: W0622: Redefining built-in 'type' (redefined-builtin) x3d.py:80498:8: W0622: Redefining built-in 'type' (redefined-builtin) x3d.py:80579:19: W0622: Redefining built-in 'type' (redefined-builtin) ------------------------------------------------------------------ Your code has been rated at 9.97/10 (previous run: 9.97/10, +0.00) Result: 30 BUILD SUCCESSFUL (total time: 19 minutes 21 seconds)