Skip to content

Commit 3178f83

Browse files
committed
Fix: Ignore watch option linter warnings
These arguments are needed for the watch option decorator
1 parent a2723b8 commit 3178f83

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

tm1cli/commands/cube.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ def exists(
4040
ctx: typer.Context,
4141
cube_name: str,
4242
database: Annotated[str, DATABASE_OPTION] = None,
43-
watch: Annotated[bool, WATCH_OPTION] = False,
44-
interval: Annotated[int, INTERVAL_OPTION] = 5,
43+
watch: Annotated[bool, WATCH_OPTION] = False, # pylint: disable=unused-argument
44+
interval: Annotated[int, INTERVAL_OPTION] = 5, # pylint: disable=unused-argument
4545
):
4646
"""
4747
Check if cube exists

tm1cli/commands/dimension.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ def exists(
4040
ctx: typer.Context,
4141
dimension_name: str,
4242
database: Annotated[str, DATABASE_OPTION] = None,
43-
watch: Annotated[bool, WATCH_OPTION] = False,
44-
interval: Annotated[int, INTERVAL_OPTION] = 5,
43+
watch: Annotated[bool, WATCH_OPTION] = False, # pylint: disable=unused-argument
44+
interval: Annotated[int, INTERVAL_OPTION] = 5, # pylint: disable=unused-argument
4545
):
4646
"""
4747
Check if dimension exists

tm1cli/commands/process.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def exists(
4444
ctx: typer.Context,
4545
name: str,
4646
database: Annotated[str, DATABASE_OPTION] = None,
47-
watch: Annotated[bool, WATCH_OPTION] = False,
47+
watch: Annotated[bool, WATCH_OPTION] = False, # pylint: disable=unused-argument
4848
interval: Annotated[int, INTERVAL_OPTION] = 5,
4949
):
5050
"""

tm1cli/commands/subset.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ def exists(
3838
bool, typer.Option("-p", "--private", help="Flag to specify if view is private")
3939
] = False,
4040
database: Annotated[str, DATABASE_OPTION] = None,
41-
watch: Annotated[bool, WATCH_OPTION] = False,
42-
interval: Annotated[int, INTERVAL_OPTION] = 5,
41+
watch: Annotated[bool, WATCH_OPTION] = False, # pylint: disable=unused-argument
42+
interval: Annotated[int, INTERVAL_OPTION] = 5, # pylint: disable=unused-argument
4343
):
4444
"""
4545
Check if subset exists

tm1cli/commands/view.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ def exists(
3737
bool, typer.Option("-p", "--private", help="Flag to specify if view is private")
3838
] = False,
3939
database: Annotated[str, DATABASE_OPTION] = None,
40-
watch: Annotated[bool, WATCH_OPTION] = False,
41-
interval: Annotated[int, INTERVAL_OPTION] = 5,
40+
watch: Annotated[bool, WATCH_OPTION] = False, # pylint: disable=unused-argument
41+
interval: Annotated[int, INTERVAL_OPTION] = 5, # pylint: disable=unused-argument
4242
):
4343
"""
4444
Check if view exists

0 commit comments

Comments
 (0)