Skip to content

Commit

Permalink
Remove Redundant pylint Suppressions (python-telegram-bot#4628)
Browse files Browse the repository at this point in the history
  • Loading branch information
Poolitzer authored Dec 31, 2024
1 parent 3c9bba6 commit 3fc50c7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion telegram/_payment/stars/affiliateinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion telegram/_utils/strings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 3fc50c7

Please sign in to comment.