Skip to content

Commit d80675b

Browse files
committed
Fix F401 in */__init__.py
1 parent 25c039a commit d80675b

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

pslab/__init__.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,13 @@
44
from pslab.instrument.power_supply import PowerSupply
55
from pslab.instrument.waveform_generator import PWMGenerator, WaveformGenerator
66
from pslab.sciencelab import ScienceLab
7+
8+
__all__ = (
9+
"LogicAnalyzer",
10+
"Multimeter",
11+
"Oscilloscope",
12+
"PowerSupply",
13+
"PWMGenerator",
14+
"WaveformGenerator",
15+
"ScienceLab",
16+
)

pslab/bus/__init__.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"""
55
from pslab.bus.i2c import I2CMaster, I2CSlave
66

7-
8-
class DeviceNotFoundError(RuntimeError):
9-
pass
7+
__all__ = (
8+
"I2CMaster",
9+
"I2CSlave",
10+
)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy