Skip to content

Commit

Permalink
uart fixes (linter fixes, part 2)
Browse files Browse the repository at this point in the history
  • Loading branch information
fivesixzero committed Nov 28, 2020
1 parent 3e7e151 commit fd8be40
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions adafruit_pm25/uart.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,8 @@ def _build_cmd_frame(cmd_bytes):
return cmd_frame

def _read_uart(self):
# Disable too-many violations for this method, since it actually needs these branches
# pylint: disable=too-many-nested-blocks,too-many-branches
"""
Reads a single frame via UART
Expand Down

0 comments on commit fd8be40

Please sign in to comment.