`__version__` and `__repo__` are in multiple files in the same library
dhalbert opened this issue · comments
Dan Halbert commented
I thought we had a policy of putting __version__
and __repo__
in __init__.py
in multi-file libraries, but I appear to be wrong: I see many libraries where those values are in each library file, and sometimes in __init__.py
and sometimes not.
It seems to me it's redundant for those values to be in each library file, and just takes up space when imported. Am I missing something? I thought this might be due to some cookiecutter template, but I don't see that's true.
Scott Shawcroft commented
I thought they should go into every file because only some files from a library may be copied over.
Dan Halbert commented
Got it.