Skip to content

Commit

Permalink
try fixing pre-commit again
Browse files Browse the repository at this point in the history
  • Loading branch information
Bibo-Joshi committed Apr 26, 2024
1 parent 031b483 commit 2a673c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion telegram/_utils/enum.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}>"
Expand Down
2 changes: 1 addition & 1 deletion telegram/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 2a673c5

Please sign in to comment.