schematics icon indicating copy to clipboard operation
schematics copied to clipboard

A lot of pylint errors on Models

Open rmmcnulty9 opened this issue 7 years ago • 1 comments
trafficstars

I am running pylint on my codebase and I am getting errors like this all over the place.

Instance of 'ModelType' has no 'foobar' member (no-member)
...
Value 'my_model['baz']' is unsubscriptable (unsubscriptable-object)
...
"my_model['bar']" does not support item assignment (unsupported-assignment-operation)
...
Non-iterable value my_list_model is used in an iterating context (not-an-iterable)

I thought that setting schematics as generated-members in the .pylintrc would fix this but I cannot seem to get it to work. Does anyone have tips? I'd rather not just turn these lint checks off.

rmmcnulty9 avatar Sep 21 '18 19:09 rmmcnulty9

I hereby confirm this issue. For example: Instance of 'StringType' has no 'format' member (no-member)

zachliu avatar Oct 12 '18 03:10 zachliu