Skip to content

Commit

Permalink
Fix PERF102 (#237)
Browse files Browse the repository at this point in the history
Signed-off-by: Joostlek <[email protected]>
  • Loading branch information
joostlek authored Feb 21, 2024
1 parent a478f34 commit 475bf2c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ ignore = [
"D101", # documentation info, should be removed after fixes
"D102", # documentation info, should be removed after fixes
"D103", # documentation info, should be removed after fixes
"PERF102",
"PLE1205",
"PLR2004", # Just annoying, not really useful
"PLR0912",
Expand Down
2 changes: 1 addition & 1 deletion roombapy/roomba.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def dict_merge(self, dct, merge_dct):
:param merge_dct: dct merged into dct
:return: None
"""
for k, v in merge_dct.items():
for k in merge_dct:
if (
k in dct
and isinstance(dct[k], dict)
Expand Down

0 comments on commit 475bf2c

Please sign in to comment.