From 64c6f0addb6d2b22ac42f1a2457b1bc607bb3030 Mon Sep 17 00:00:00 2001 From: Twirre Meulenbelt <43213592+TwirreM@users.noreply.github.com> Date: Sat, 22 Nov 2025 12:44:13 +0100 Subject: [PATCH] docs: make doc generator understand multi line ref: N25B-298 --- src/robot_interface/utils/microphone.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/robot_interface/utils/microphone.py b/src/robot_interface/utils/microphone.py index 3bf9fe6..816c7f6 100644 --- a/src/robot_interface/utils/microphone.py +++ b/src/robot_interface/utils/microphone.py @@ -29,7 +29,7 @@ def choose_mic_interactive(audio): :type audio: pyaudio.PyAudio :return: A dictionary from PyAudio containing information about the microphone to use, or None - if there is no microphone. + if there is no microphone. :rtype: dict | None """ microphones = list(get_microphones(audio)) @@ -61,7 +61,7 @@ def choose_mic_default(audio): :type audio: pyaudio.PyAudio :return: A dictionary from PyAudio containing information about the microphone to use, or None - if there is no microphone. + if there is no microphone. :rtype: dict | None """ try: @@ -78,7 +78,7 @@ def choose_mic_arguments(audio): :type audio: pyaudio.PyAudio :return: A dictionary from PyAudio containing information about the microphone to use, or None - if there is no microphone satisfied by the arguments. + if there is no microphone satisfied by the arguments. :rtype: dict | None """ microphone_name = None @@ -112,7 +112,7 @@ def choose_mic(audio): :type audio: pyaudio.PyAudio :return: A dictionary from PyAudio containing information about the microphone to use, or None - if there is no microphone. + if there is no microphone. :rtype: dict | None """ chosen_mic = choose_mic_arguments(audio)