Skip to content

Commit b7e870b

Browse files
committed
Add return types
1 parent 687c572 commit b7e870b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

infrahub_sdk/ctl/example_repo/tasks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,15 @@ def restart(context: Context, component: str = "") -> None:
4949

5050

5151
@task
52-
def load_schema(ctx: Context):
52+
def load_schema(ctx: Context) -> None:
5353
"""
5454
Load schemas into InfraHub using infrahubctl.
5555
"""
5656
ctx.run("infrahubctl schema load schemas")
5757

5858

5959
@task
60-
def test(ctx: Context):
60+
def test(ctx: Context) -> None:
6161
"""
6262
Run tests using pytest.
6363
"""

0 commit comments

Comments
 (0)