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
{{ message }}
This repository was archived by the owner on Nov 3, 2023. It is now read-only.
"""Description of the script."""defmain():
# All of the script code.if__name__=="__main__":
main()
It seems redundant to explain the script again inside the main function.
pydocstyle raises this error:
path/to/script.py:4 in public function `main`:
D103: Missing docstring in public function
I don't want to ignore D103 because it's useful for functions in other modules.
I see that you have a --match option for selecting files that match a regular expression. Perhaps a feature could be added to ignore function names that match a regular expression?