Add reasonable pylint config

This commit is contained in:
Pim van Pelt
2024-04-07 15:35:18 +02:00
parent c9c5a14f30
commit 6352d6892e

View File

@ -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