From 8d5f22900050ceec95449476f07583f439f986c7 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 29 May 2022 03:04:31 +0200 Subject: [PATCH] ignore __init__ files for docstrings --- setup.cfg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.cfg b/setup.cfg index 3aa96371ec..17fdd21db3 100644 --- a/setup.cfg +++ b/setup.cfg @@ -18,6 +18,9 @@ ignore = # - D415 - First line should end with a period, question mark, or exclamation point D415, exclude = .git,__pycache__,*/migrations/*,*/lib/*,*/bin/*,*/media/*,*/static/*,InvenTree/plugins/* +per-file-ignores = + # Do not enforce docstring on __init__ + __init__.py: D104 max-complexity = 20 docstring-convention=google