From 6352d6892e76f54cc4468adb77072abc38d3efb1 Mon Sep 17 00:00:00 2001 From: Pim van Pelt Date: Sun, 7 Apr 2024 15:35:18 +0200 Subject: [PATCH] Add reasonable pylint config --- .pylintrc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.pylintrc b/.pylintrc index 67808cd..3d0b923 100644 --- a/.pylintrc +++ b/.pylintrc @@ -1,11 +1,10 @@ [MASTER] -init-hook="from pylint.config import find_pylintrc; import os, sys; sys.path.append(os.path.dirname(find_pylintrc()))" +#init-hook="from pylint.config import find_pylintrc; import os, sys; sys.path.append(os.path.dirname(find_pylintrc()))" ignore-patterns=test_.* [MESSAGES CONTROL] # Pointless whinging -# R0201 = Method could be a function # W0212 = Accessing protected attribute of client class # W0613 = Unused argument # C0301 = Line too long @@ -14,7 +13,7 @@ ignore-patterns=test_.* # W1203 = Use lazy % formatting in logging functions # Disable the message(s) with the given id(s). -disable=R0201,W0212,W0613,C0301,R0914,W1203 +disable=W0212,W0613,C0301,R0914,W1203 [FORMAT] max-line-length=148