Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomzoy authored Jan 24, 2025
1 parent 35c44e1 commit 9a94a88
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions confit/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -517,11 +517,19 @@ def rec(old, new):
old_val = old[key]
if isinstance(old_val, dict) and isinstance(new_val, dict):
old_resolver = next(
(k for k in old_val if isinstance(key, str) and k.startswith("@")),
(
k
for k in old_val
if isinstance(key, str) and k.startswith("@")
),
None,
)
new_resolver = next(
(k for k in new_val if isinstance(key, str) and k.startswith("@")),
(
k
for k in new_val
if isinstance(key, str) and k.startswith("@")
),
None,
)
if (
Expand Down

0 comments on commit 9a94a88

Please sign in to comment.