You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Break long URLs, docstrings, f-strings and function signatures into multiple lines
- Physics/RTD.py: Split long source URL comment
- SignalProcessing/FFT.py: Split long docstrings and function signatures
- SignalProcessing/Filter.py: Split long error message
- SignalProcessing/Ramp.py: Split long f-string exception messages
- SignalProcessing/Utils.py: Split long __repr__ f-string
- Utils/Range.py: Split long __repr__ f-string
"""Select a frequency range: fft[1.0:100.0] selects the 1.0 ... 100.0 Hz frequency range. fft[1.0:] selects everything from 1.0 Hz to the max frequency. fft[:100.0] selects everything from 1.0 Hz to the max frequency. fft[10.0] selects (frequency, value, angle) of."""
43
+
"""Select a frequency range: fft[1.0:100.0] selects the 1.0 ... 100.0 Hz frequency range.
44
+
fft[1.0:] selects everything from 1.0 Hz to the max frequency. fft[:100.0] selects
45
+
everything from 1.0 Hz to the max frequency. fft[10.0] selects (frequency, value, angle) of."""
raiseValueError("FFT [] operator selects a frequency range([start:stop]) or (value, angle) at the closest frequency ([frequency])! {} is an illegal argument".format(arg))
61
+
raiseValueError(
62
+
"FFT [] operator selects a frequency range([start:stop]) or "
63
+
"(value, angle) at the closest frequency ([frequency])! "
raiseFilterUnstableError("The filter is numerically unstable. Use a lower order or a wider frequency range. You can use ChainedFilter to chain multiple filters of lower order to avoid this issue.")
143
+
raiseFilterUnstableError(
144
+
"The filter is numerically unstable. Use a lower order or a wider "
145
+
"frequency range. You can use ChainedFilter to chain multiple filters "
raiseOperationImpossibleException(f"Acceleration {acceleration} is too low for rise time {rise_time} with {continuity} continuity. Min required: {min_acc_rise}")
122
+
raiseOperationImpossibleException(
123
+
f"Acceleration {acceleration} is too low for rise time {rise_time} "
124
+
f"with {continuity} continuity. Min required: {min_acc_rise}")
123
125
ifacceleration<min_acc_fall:
124
-
raiseOperationImpossibleException(f"Acceleration {acceleration} is too low for fall time {fall_time} with {continuity} continuity. Min required: {min_acc_fall}")
126
+
raiseOperationImpossibleException(
127
+
f"Acceleration {acceleration} is too low for fall time {fall_time} "
128
+
f"with {continuity} continuity. Min required: {min_acc_fall}")
0 commit comments