Skip to content

Commit

Permalink
apply Ruff suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
asirko-soft committed Dec 17, 2024
1 parent 663add6 commit 7d14dc9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
from enum import Enum, IntFlag
from functools import partial
from itertools import chain
from typing import Any, Dict, Iterable, List, Optional, Tuple
from typing import Any, Iterable, List, Optional, Tuple

from chip.tlv import float32, uint

Expand Down Expand Up @@ -1190,7 +1190,7 @@ def get_test_pixits(self, test: str) -> list[PIXITDefinition]:
try:
fn = getattr(self, pixits_name)
return fn()
except AttributeError as e:
except AttributeError:
return []

def get_test_steps(self, test: str) -> list[TestStep]:
Expand Down

0 comments on commit 7d14dc9

Please sign in to comment.