Skip to content

Commit

Permalink
fix typing according to new mypy rules
Browse files Browse the repository at this point in the history
  • Loading branch information
OdoctorG committed Jul 5, 2024
1 parent 06830ef commit 9c3dec2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions python/subscribe-to-scripted-signal/subscribe_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ def run(


class ScriptPathArgument(argparse.Action):
# pylint: disable=R0903
# pylint: disable=W0222
def __call__(self, _parser: Any, namespace: Any, value: Any, _option: Any) -> None: # type: ignore
print("Script path in use:", value)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ def run(


class ScriptPathArgument(argparse.Action):
# pylint: disable=R0903
# pylint: disable=W0222
def __call__(self, _parser: Any, namespace: argparse.Namespace, value: Any, _option: Any) -> None: # type: ignore
print("Script path in use:", value)
Expand Down

0 comments on commit 9c3dec2

Please sign in to comment.