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

Get pylint to understand async init and Parameters #495

Open
MarcusZuber opened this issue May 23, 2022 · 1 comment
Open

Get pylint to understand async init and Parameters #495

MarcusZuber opened this issue May 23, 2022 · 1 comment

Comments

@MarcusZuber
Copy link
Member

Pylint has some problems with our code:

  • pylint complains about creation of members outside if the constructor. This happens for all members of AsyncObjects, since we declare them in __ainit__ and not in __init__.

  • pylint does not understand the installation of the get_ and set_ function of the Parameters. Therefore, it complains for all (async) parameter accesses with a no-member error.

I did't see a simple fix (beside deactivating all no-member and attribute-defined-outside-init errors/warnings) in the pylint configs.

Maybe anybody has a clever idea.

@tfarago
Copy link
Contributor

tfarago commented May 24, 2022

You want to see that 10/10 don't you? 😄

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

No branches or pull requests

2 participants