Private modules _modA
should only be accessible by __init__.py
scripts in the same level
#9061
Tomperez98
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I know
SLF001
covers accessing private members of classes. Would it be possible to have something similar for modules?Private modules should only be accessible by the
__init__.py
scripts on the same level, if a public function, class, etc from the private module would be accessible across the project you could use the__all__
variable to do so.Beta Was this translation helpful? Give feedback.
All reactions