Skip to content

Commit 43c9fcd

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 39be2b3 commit 43c9fcd

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

pitop/core/mixins/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
from .stateful import Stateful
44
from .digital_component_checks import DigitalComponentChecks
55
from .supports_battery import SupportsBattery
6-
from .supports_miniscreen import SupportsMiniscreen
6+
from .supports_miniscreen import SupportsMiniscreen

pitop/core/mixins/digital_component_checks.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11

22
valid_digital_ports = ["D0", "D1", "D2", "D3", "D4", "D5", "D6", "D7"]
33

4+
45
class DigitalComponentChecks:
5-
"""Performs basic checks on validity of user-specified port"""
6+
"""Performs basic checks on validity of user-specified port."""
67

78
def __init__(self, port_name):
89
self.port_name = port_name

pitop/pma/ultrasonic_sensor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
valid_analog_ports = ["A1", "A3"]
1010
invalid_analog_ports = ["A0", "A2"]
1111

12+
1213
class UltrasonicSensor(Stateful, Recreatable):
1314
def __init__(self,
1415
port_name,

0 commit comments

Comments
 (0)