From 2a673c5a1958b459964b4d006d78b7eaa3329c92 Mon Sep 17 00:00:00 2001 From: Hinrich Mahler <22366557+Bibo-Joshi@users.noreply.github.com> Date: Fri, 26 Apr 2024 10:14:09 +0200 Subject: [PATCH] try fixing pre-commit again --- telegram/_utils/enum.py | 2 +- telegram/constants.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/telegram/_utils/enum.py b/telegram/_utils/enum.py index aa370cbd44a..b6053003acf 100644 --- a/telegram/_utils/enum.py +++ b/telegram/_utils/enum.py @@ -65,7 +65,7 @@ class IntEnum(_enum.IntEnum): gives ``EnumName.MEMBER_NAME``. """ - __slots__ = () + __slots__ = () # pylint: disable=invalid-slots def __repr__(self) -> str: return f"<{self.__class__.__name__}.{self.name}>" diff --git a/telegram/constants.py b/telegram/constants.py index 2eac123fc14..8bf1f9eac54 100644 --- a/telegram/constants.py +++ b/telegram/constants.py @@ -29,7 +29,7 @@ * Most of the constants in this module are grouped into enums. """ # TODO: Remove this when https://github.com/PyCQA/pylint/issues/6887 is resolved. -# pylint: disable=invalid-enum-extension +# pylint: disable=invalid-enum-extension,invalid-slots __all__ = [ "BOT_API_VERSION",