Skip to content

Commit

Permalink
Fixed linting
Browse files Browse the repository at this point in the history
  • Loading branch information
evaherrada committed Nov 10, 2022
1 parent db49779 commit c7f401b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions examples/dht_time_calibration_advance.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,8 @@

# Gather the highest read numbers from all reads done.
best_result = max(
[
reads[milliseconds]["total_reads"]
for milliseconds in reads # pylint: disable=consider-using-dict-items
]
reads[milliseconds]["total_reads"]
for milliseconds in reads # pylint: disable=consider-using-dict-items
)
# Gather best time(s) in milliseconds where we got more reads
best_times = [
Expand Down

0 comments on commit c7f401b

Please sign in to comment.