I recently ran into what seems to be a bug in Scrutinizer's static code analysis. Consider any recent analysis log of the Fuel project, of which I'm a developer:
- fuel/converters/svhn.py: Could not resolve type id '_ast.Ellipsis' into a subtype of [simple type, class com.scrutinizerci.worker.parser.python.PythonNode]
at [Source: java.io.StringReader@69b3fb71; line: 1, column: 53327]
- fuel/datasets/hdf5.py: Could not resolve type id '_ast.Ellipsis' into a subtype of [simple type, class com.scrutinizerci.worker.parser.python.PythonNode]
at [Source: java.io.StringReader@176a14d9; line: 1, column: 187643]
- fuel/converters/base.py: Could not resolve type id '_ast.Ellipsis' into a subtype of [simple type, class com.scrutinizerci.worker.parser.python.PythonNode]
at [Source: java.io.StringReader@53320946; line: 1, column: 36921]
It seems that these are the files that contain Python's ellipsis object, i.e. they index an array using something like x[..., 0]. These files are completely ignored by the analysis right now.
Just sent them an e-mail about it: