From 69d8a766a6026394a77fd7cb1381a12fa5eafecf Mon Sep 17 00:00:00 2001 From: Laurent Monin Date: Sun, 21 Apr 2024 23:08:40 +0200 Subject: [PATCH] Remove builtins declarations for checkers --- .pylintrc | 3 +-- setup.cfg | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.pylintrc b/.pylintrc index a3287f247c6..b5dcbc3b042 100644 --- a/.pylintrc +++ b/.pylintrc @@ -283,8 +283,7 @@ min-similarity-lines=4 # List of additional names supposed to be defined in builtins. Remember that # you should avoid defining new builtins when possible. -additional-builtins=_, N_, ngettext, gettext_attributes, pgettext_attributes, - gettext_constants, gettext_countries +additional-builtins= # Tells whether unused global variables should be treated as a violation. allow-global-unused-variables=yes diff --git a/setup.cfg b/setup.cfg index e59062f07a7..85f0faf659f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -7,7 +7,6 @@ # E501: line too long (xx > 79 characters) # W503: line break occurred before a binary operator ignore = E127,E128,E129,E226,E241,E501,W503 -builtins = _,N_,ngettext,gettext_attributes,pgettext_attributes,gettext_constants,gettext_countries exclude = ui_*.py,picard/resources.py [coverage:run]