Closed AdrienVannson closed 3 weeks ago
Please move this to the end of the file, because honestly it's not something I want to see
Also please can you change this to a tuple not a list
It is defined at the top of the file on purpose, as suggested by PEP-8: https://peps.python.org/pep-0008/#module-level-dunder-names
Please can you add a test that this exists and avoids importing dataclasses etc?
It is defined at the top of the file on purpose, as suggested by PEP-8: peps.python.org/pep-0008#module-level-dunder-names
I have never seen it go before module imports hmm.
Please can you add a test that this exists and avoids importing dataclasses etc?
I added a test that check that __all__
is correctly defined. However, I'm not sure what you mean by importing dataclasses
Summary
Define
__all__
in the generated files, as suggested by https://github.com/danielgtaylor/python-betterproto/issues/486Checklist