Skip to content

Commit 17ac646

Browse files
committed
Fix ruff linting error
1 parent c42aae6 commit 17ac646

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

isic_cli/io/http.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,7 @@ def _merge_summaries(a: dict[str, list[str]], b: dict[str, list[str]]) -> dict[s
6363
for k, v in a.items():
6464
ret[k] = v + b.get(k, [])
6565

66-
for k, v in b.items():
67-
if k not in a:
68-
ret[k] = v
66+
ret.update({k: v for k, v in b.items() if k not in a})
6967

7068
return ret
7169

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ envlist =
88
skipsdist = true
99
skip_install = true
1010
deps =
11-
ruff
11+
ruff==0.5.0
1212
commands =
1313
ruff check {posargs:.}
1414
ruff format --check {posargs:.}

0 commit comments

Comments
 (0)