From 3fc50c78ebd4404ac5bb3d5646a7d7bed7672011 Mon Sep 17 00:00:00 2001 From: Poolitzer Date: Tue, 31 Dec 2024 15:13:31 +0100 Subject: [PATCH] Remove Redundant `pylint` Suppressions (#4628) --- telegram/_payment/stars/affiliateinfo.py | 1 - telegram/_utils/strings.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/telegram/_payment/stars/affiliateinfo.py b/telegram/_payment/stars/affiliateinfo.py index 795b243d2c8..ec0f3bd6b40 100644 --- a/telegram/_payment/stars/affiliateinfo.py +++ b/telegram/_payment/stars/affiliateinfo.py @@ -16,7 +16,6 @@ # # You should have received a copy of the GNU Lesser Public License # along with this program. If not, see [http://www.gnu.org/licenses/]. -# pylint: disable=redefined-builtin """This module contains the classes for Telegram Stars affiliates.""" from typing import TYPE_CHECKING, Optional diff --git a/telegram/_utils/strings.py b/telegram/_utils/strings.py index 9c386247eca..84cb5b7a288 100644 --- a/telegram/_utils/strings.py +++ b/telegram/_utils/strings.py @@ -27,7 +27,7 @@ from telegram._utils.enum import StringEnum # TODO: Remove this when https://github.com/PyCQA/pylint/issues/6887 is resolved. -# pylint: disable=invalid-enum-extension,invalid-slots +# pylint: disable=invalid-enum-extension class TextEncoding(StringEnum):