Skip to content

Commit 2ed711b

Browse files
authored
Merge pull request #124 from opsmill/pog-ctl-generator-return
Add return type to generator run()
2 parents 1e12ef9 + b576a2d commit 2ed711b

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

infrahub_sdk/ctl/generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ async def run(
1818
list_available: bool,
1919
branch: Optional[str] = None,
2020
variables: Optional[list[str]] = None,
21-
): # pylint: disable=unused-argument
21+
) -> None: # pylint: disable=unused-argument
2222
repository_config = get_repository_config(Path(config.INFRAHUB_REPO_CONFIG_FILE))
2323

2424
if list_available:

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,6 @@ disable_error_code = [
161161
module = "infrahub_sdk.ctl.generator"
162162
disable_error_code = [
163163
"attr-defined",
164-
"no-untyped-def",
165164
]
166165

167166
[[tool.mypy.overrides]]

0 commit comments

Comments
 (0)