Skip to content

Commit bec2eec

Browse files
committed
Lint
1 parent a23d052 commit bec2eec

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

flake8_github_actions/__init__.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,31 +52,32 @@ class GitHubFormatter(BaseFormatter):
5252

5353
reported_errors_count: int
5454

55-
def write_line(self, line: str) -> None:
55+
def write_line(self, line: str) -> None: # noqa: PRM002
5656
"""
5757
Override write for convenience.
5858
"""
59+
5960
self.write(line, None)
6061

6162
def start(self) -> None: # noqa: D102
6263
super().start()
6364
self.files_reported_count = 0
6465

65-
def beginning(self, filename: Any) -> None:
66+
def beginning(self, filename: Any) -> None: # noqa: PRM002
6667
"""
6768
We're starting a new file.
6869
"""
6970

7071
self.reported_errors_count = 0
7172

72-
def finished(self, filename: Any) -> None:
73+
def finished(self, filename: Any) -> None: # noqa: PRM002
7374
"""
7475
We've finished processing a file.
7576
"""
7677

7778
self.files_reported_count += 1
7879

79-
def format(self, violation: "Violation") -> None: # noqa: A003 # pylint: disable=redefined-builtin
80+
def format(self, violation: "Violation") -> None: # noqa: PRM002,A003 # pylint: disable=redefined-builtin
8081
"""
8182
Format a violation.
8283
"""

0 commit comments

Comments
 (0)