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