From 1f0d2ce33502acf51929544c4723010c0d988c65 Mon Sep 17 00:00:00 2001 From: lebaudantoine Date: Mon, 4 Nov 2024 14:07:47 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A8(backend)=20fix=20Pylint=20warning?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Python module models.py raises too-many-ancestors warning, but linter still pass, code is rated 10/10. Inspired from @sampaccoud's commit #eee20032 on impress. --- src/backend/.pylintrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/.pylintrc b/src/backend/.pylintrc index d7490918..9807de7d 100644 --- a/src/backend/.pylintrc +++ b/src/backend/.pylintrc @@ -447,10 +447,10 @@ max-bool-expr=5 max-branches=12 # Maximum number of locals for function / method body -max-locals=15 +max-locals=20 # Maximum number of parents for a class (see R0901). -max-parents=7 +max-parents=10 # Maximum number of public methods for a class (see R0904). max-public-methods=20