enable more linting

This commit is contained in:
Jörg Thalheim
2023-11-29 12:38:00 +01:00
committed by Mic92
parent 7ae02d86af
commit 26e3e3872c
15 changed files with 54 additions and 54 deletions

View File

@@ -50,7 +50,7 @@ def merge(a: dict, b: dict, path: list[str] = []) -> dict:
for key in b:
if key in a:
if isinstance(a[key], dict) and isinstance(b[key], dict):
merge(a[key], b[key], path + [str(key)])
merge(a[key], b[key], [*path, str(key)])
elif isinstance(a[key], list) and isinstance(b[key], list):
a[key].extend(b[key])
elif a[key] != b[key]: