From 7d19209fa199e4994c4d4820cbd89677466e2ade Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Mon, 7 Feb 2022 11:49:18 +0100 Subject: [PATCH] liniting: disable too-many-ancestors This is triggered by UserDict which is meant of deriving. --- .pylintrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.pylintrc b/.pylintrc index e283292a..d5c4514f 100644 --- a/.pylintrc +++ b/.pylintrc @@ -10,6 +10,7 @@ ignored-modules=icu,datrie # closing added here because it sometimes triggers a false positive with # 'with' statements. ignored-classes=NominatimArgs,closing -disable=too-few-public-methods,duplicate-code +# 'too-many-ancestors' is triggered already by deriving from UserDict +disable=too-few-public-methods,duplicate-code,too-many-ancestors good-names=i,x,y,fd,db