Skip to content

Commit

Permalink
Update black style
Browse files Browse the repository at this point in the history
  • Loading branch information
bessman committed May 17, 2024
1 parent 5d17d2f commit 7c196ae
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions pslab/external/hcsr04.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Ultrasonic distance sensors."""

import time

from pslab.instrument.logic_analyzer import LogicAnalyzer
Expand Down
1 change: 1 addition & 0 deletions pslab/external/motor.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
>>> servo = Servo("SQ1")
>>> servo.angle = 30 # Turn motor to 30 degrees position.
"""

from typing import Union

from pslab.instrument.waveform_generator import PWMGenerator
Expand Down
1 change: 1 addition & 0 deletions pslab/instrument/multimeter.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""The PSLab's multimeter can measure voltage, resistance, and capacitance."""

import time
from typing import Tuple

Expand Down
1 change: 1 addition & 0 deletions pslab/instrument/power_supply.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
>>> ps.pcs
0.00200014652014652
"""

import numpy as np

from pslab.bus.i2c import I2CSlave
Expand Down
1 change: 1 addition & 0 deletions pslab/serial_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
>>> version = device.get_version()
>>> device.disconnect()
"""

try:
import grp
except ImportError:
Expand Down

0 comments on commit 7c196ae

Please sign in to comment.