-
-
Notifications
You must be signed in to change notification settings - Fork 169
Closed
Description
The issue's subject is somewhat general, but my particular use case is that of a script.
Usually, we write a script as,
"""Module docstring"""
import bla
def main():
# do stuff
if __name__ == "__main__":
main()I am using numpydoc via its Sphinx extension and I get
XXX.main:GL08:The object does not have a docstring
Technically, yes, it should have one, but it would be the same as the module dosctring in this case.
I don't know if there is any kind of convention about this particular case.
If there isn't, is there a way I can tell the checker to ignore e.g. the main function of a script?
Metadata
Metadata
Assignees
Labels
No labels