enable comprehensions linting rules

This commit is contained in:
Jörg Thalheim
2024-09-02 13:32:29 +02:00
parent 35839ef701
commit e9a266001c
19 changed files with 146 additions and 151 deletions

View File

@@ -144,7 +144,7 @@ class Machine:
config = nix_config()
system = config["system"]
file_info = dict()
file_info = {}
with NamedTemporaryFile(mode="w") as config_json:
if extra_config is not None:
json.dump(extra_config, config_json, indent=2)