CI: Don't encourage docstring on trivial functions

If a function is three or fewer lines long, it should be assumed to be self-explanatory (hopefully it has a good name!).
This commit is contained in:
Chris Hennes
2023-01-13 14:06:03 -06:00
committed by GitHub
parent 7a8f48d4e0
commit bd004963b5

View File

@@ -227,7 +227,7 @@ const-naming-style=UPPER_CASE
# Minimum line length for functions/classes that require docstrings, shorter
# ones are exempt.
docstring-min-length=-1
docstring-min-length=4
# Naming style matching correct function names.
function-naming-style=snake_case