From bd004963b50ef5b63efd27b50d481af6a236a84c Mon Sep 17 00:00:00 2001 From: Chris Hennes Date: Fri, 13 Jan 2023 14:06:03 -0600 Subject: [PATCH] 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!). --- .pylintrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pylintrc b/.pylintrc index e1669ef067..855e51c551 100644 --- a/.pylintrc +++ b/.pylintrc @@ -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