Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A lot of pylint errors on Models #568

Open
rmmcnulty9 opened this issue Sep 21, 2018 · 1 comment
Open

A lot of pylint errors on Models #568

rmmcnulty9 opened this issue Sep 21, 2018 · 1 comment

Comments

@rmmcnulty9
Copy link

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.

@zachliu
Copy link

zachliu commented Oct 12, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants