Skip to content

Commit

Permalink
limit positional arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
rlehfeld committed Sep 21, 2024
1 parent 7756ae6 commit df798b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion RPyCRobotRemote/RPyCRobotRemoteClient.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class RPyCRobotRemoteClient:
# pylint: disable=R0913
def __init__(self, /,
peer: str = 'localhost',
port: int = 18861,
port: int = 18861, *,
ipv6: bool = False,
timeout=None,
logger=None,
Expand Down
2 changes: 1 addition & 1 deletion RPyCRobotRemote/RPyCRobotRemoteServer.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ class RPyCRobotRemoteServer:
def __init__(self, # noqa, C901 allow higher complexity here
library,
host: Optional[str] = 'localhost',
port: int = 18861,
port: int = 18861, *,
port_file: Optional[Union[str, pathlib.Path, TextIO]] = None,
serve: bool = True,
allow_remote_stop: bool = True,
Expand Down

0 comments on commit df798b8

Please sign in to comment.