From bb35ddfeaa03887e017aec90f0bd9738d4356cde Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Wed, 22 Jun 2022 20:06:01 -0700 Subject: [PATCH] pyproject.toml: Ignore some refactoring messages with pylint Signed-off-by: Sunil Mohan Adapa Reviewed-by: James Valleroy --- pyproject.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index e1ff06364..3954de651 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -71,3 +71,10 @@ markers = [ "wordpress", "zoph", ] + +# Useful when pylint is invoked separately instead of flake8 +[tool.pylint.'MESSAGES CONTROL'] +disable = [ + "too-many-arguments", # Has not resulted in a refactoring + "too-many-ancestors", # Easy to hit when using Django +]