diff --git a/pkgs/clan-cli/clan_cli/inventory/classes.py b/pkgs/clan-cli/clan_cli/inventory/classes.py index 08715cfa4..a44a7f7db 100644 --- a/pkgs/clan-cli/clan_cli/inventory/classes.py +++ b/pkgs/clan-cli/clan_cli/inventory/classes.py @@ -5,7 +5,7 @@ # ruff: noqa: N806 # ruff: noqa: F401 # fmt: off -from typing import Any, Literal, TypedDict, NotRequired +from typing import Any, Literal, NotRequired, TypedDict class MachineDeploy(TypedDict): @@ -33,4 +33,4 @@ class Inventory(TypedDict): meta: NotRequired[Meta] modules: NotRequired[dict[str, str]] services: NotRequired[dict[str, Service]] - tags: NotRequired[dict[str, list[str]]] \ No newline at end of file + tags: NotRequired[dict[str, list[str]]] diff --git a/pkgs/classgen/main.py b/pkgs/classgen/main.py index fffcf1155..d19eaf72e 100644 --- a/pkgs/classgen/main.py +++ b/pkgs/classgen/main.py @@ -350,10 +350,11 @@ def run_gen(args: argparse.Namespace) -> None: # ruff: noqa: N806 # ruff: noqa: F401 # fmt: off -from typing import Any, Literal, TypedDict, NotRequired\n +from typing import Any, Literal, NotRequired, TypedDict\n """ ) f.write(dataclass_code) + f.write("\n") def main() -> None: