You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this can be closed. It is very specific for packages with a lot of substructure and shouldn't be in the template, imho. For instance, there are also packages with just one module.py file and there are packages with just one folder (probably the majority). Apart from that, I think both styles are fine and we needn't pick one or the other. Let the people on the project decide on that.
Activity
egpbos commentedon Mar 30, 2022
I think this can be closed. It is very specific for packages with a lot of substructure and shouldn't be in the template, imho. For instance, there are also packages with just one
module.pyfile and there are packages with just one folder (probably the majority). Apart from that, I think both styles are fine and we needn't pick one or the other. Let the people on the project decide on that.egpbos commentedon Jul 11, 2023
Let's leave this up to the package developers.
bouweandela commentedon Jul 31, 2023
We recommend following PEP8 for this: https://peps.python.org/pep-0008/#imports, so indeed there is no need to come up with our own recommendation.