frequenz-floss / frequenz-client-microgrid-python

Microgrid API client for Python
https://frequenz-floss.github.io/frequenz-client-microgrid-python/
MIT License
0 stars 5 forks source link

Disable` pylint`s `no-name-in-module` check #81

Closed llucax closed 1 month ago

llucax commented 1 month ago

We can disable this rule because mypy already checks for this kind of errors and this also fixes a long-standing issue with pylint that can't figure out protobuf generate stuff have some members:

And now that we disabled this check we can just use the protobuf modules instead of having to declare one alias per each symbol we need. We did this before just so we only need to use a pylint disable=no-name-in-module one time in the import instead each time we used the symbol.

llucax commented 1 month ago

Skipping release notes as these are all internal changes.