Skip to content

Commit 147e791

Browse files
committed
Remove comments used to ignore pylint errors
1 parent 3104eec commit 147e791

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/msgcheck/po.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def get_concatenated_files(filenames: list[str]) -> str | None:
4949
return "\n".join(content)
5050

5151

52-
class PoReport: # pylint: disable=too-few-public-methods
52+
class PoReport:
5353
"""A message in report (commonly an error in detected in gettext file)."""
5454

5555
def __init__( # noqa: PLR0913
@@ -338,7 +338,7 @@ def check_spelling(self, spelling: str, checkers: list[SpellChecker]) -> list[Po
338338
return errors
339339

340340

341-
class Checker: # pylint: disable=too-many-instance-attributes
341+
class Checker:
342342
"""Messages checker."""
343343

344344
def __init__(self) -> None:
@@ -424,7 +424,6 @@ def __init__(self, filename: str) -> None:
424424
}
425425
self.msgs = []
426426

427-
# pylint: disable=too-many-arguments, too-many-positional-arguments
428427
def _add_message(self, numline_msgid: int, fuzzy: bool, fmt: str, noqa: bool, msg: dict[str, str]) -> None:
429428
"""Add a message from PO file in list of messages."""
430429
if "msgid" in msg and not msg["msgid"]:

0 commit comments

Comments
 (0)