diff --git a/.gitversion b/.gitversion index 7ad11de..5df39e6 100644 --- a/.gitversion +++ b/.gitversion @@ -6,7 +6,7 @@ version = 1.0.1 # A version is determined to be a "beta" prerelease if it originates from the default branch -# The default branch is the first branch that matches the following regular expession. +# The default branch is the first branch that matches the following regular expression. # Uncomment to change the default. beta branch = main diff --git a/LogicAnalyzer.py b/LogicAnalyzer.py index 2b75cc8..5768445 100644 --- a/LogicAnalyzer.py +++ b/LogicAnalyzer.py @@ -20,7 +20,7 @@ class DigitalPin(Enum): @attribute(Display("Logic Analyzer", "Logic Analyzer Instrument", "PSLab")) class LogicAnalyzer(Instrument): def __init__(self): - "Set up the properties, methods and default values of the instrument." + """Set up the properties, methods and default values of the instrument.""" super(LogicAnalyzer, self).__init__() # The base class initializer must be invoked. self.instrument = None diff --git a/MeasureVoltageStep.py b/MeasureVoltageStep.py index 8d012c2..ba7d141 100644 --- a/MeasureVoltageStep.py +++ b/MeasureVoltageStep.py @@ -8,7 +8,7 @@ @attribute( - Display("Measure Voltage", "Measures voltage between pin an GND (in V)", Groups=["PSLab", "Multimeter"])) + Display("Measure Voltage", "Measures voltage between pin and GND (in V)", Groups=["PSLab", "Multimeter"])) class MeasureVoltageStep(TestStep): # Properties Channel = property(String, "VOL") \ diff --git a/WaveformGenerator.py b/WaveformGenerator.py index e67ab1e..ba78ba6 100644 --- a/WaveformGenerator.py +++ b/WaveformGenerator.py @@ -24,13 +24,13 @@ def __init__(self): self.Name = "Waveform Generator" def Open(self): - """Called by TAP when the test plans starts.""" + """Called by TAP when the test plan starts.""" super(WaveformGenerator, self).Open() self.sine = ConnectionHandler.instance().getWaveformGenerator() self.square = ConnectionHandler.instance().getPWMGenerator() def Close(self): - """Called by TAP when the test plans ends.""" + """Called by TAP when the test plan ends.""" super(WaveformGenerator, self).Close() def generate_sine(self, channel: SineWavePin, frequency, phase=0):