modernisation for python 3.11

This commit is contained in:
Jörg Thalheim
2023-11-29 12:40:48 +01:00
committed by Mic92
parent 7d755beca6
commit 6f0722c692
38 changed files with 160 additions and 163 deletions

View File

@@ -3,7 +3,6 @@ import os
import subprocess
import sys
from pathlib import Path
from typing import Optional
from ..nix import nix_build, nix_config, nix_eval
from ..ssh import Host, parse_deployment_address
@@ -31,7 +30,7 @@ class Machine:
self,
name: str,
flake_dir: Path,
machine_data: Optional[dict] = None,
machine_data: dict | None = None,
) -> None:
"""
Creates a Machine