Skip to content

Commit 1d3141d

Browse files
committed
Use keyword-only arguments in abort function
This function takes too many arguments and it is not clear which is which at the call site otherwise. Signed-off-by: Leandro Lucarella <[email protected]>
1 parent c6757b9 commit 1d3141d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/frequenz/repo/config/github.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ def format(self, record: logging.LogRecord) -> str:
5656

5757
def abort( # pylint: disable=too-many-arguments
5858
message: str,
59+
*,
5960
title: str | None = None,
6061
file: str | None = None,
6162
col: int | None = None,

0 commit comments

Comments
 (0)