Allow main() to lack a docstring.

This commit is contained in:
Gilles Peskine 2019-02-27 11:03:43 +01:00
parent e915d532a6
commit a0c615ef42

View file

@ -23,7 +23,7 @@ module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+)|[a-z][-0-9a-z]+)$
# Some functions don't need docstrings. # Some functions don't need docstrings.
# [missing-docstring] # [missing-docstring]
no-docstring-rgx=(run_)main$ no-docstring-rgx=(run_)?main$
# We're ok with short local or global variable names. # We're ok with short local or global variable names.
# [invalid-name] # [invalid-name]