This repository was archived by the owner on Nov 3, 2023. It is now read-only.

Description
Hello,
I have several Python scripts with this format:
"""Description of the script."""
def main():
# 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?
Thanks.