Skip to content

Commit

Permalink
Merge pull request #85 from adafruit/pylint-fix
Browse files Browse the repository at this point in the history
Fixed linting
  • Loading branch information
tekktrik authored Nov 10, 2022
2 parents db49779 + c7f401b commit 5909964
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 5909964

Please sign in to comment.