From 42e58f1ca211115e9a76922c36dfbf2b1ad39978 Mon Sep 17 00:00:00 2001 From: Josh Morman <jmorman@gnuradio.org> Date: Wed, 24 Nov 2021 12:02:17 -0500 Subject: audio: pep8 formatting Signed-off-by: Josh Morman <jmorman@gnuradio.org> --- gr-audio/examples/python/audio_to_file.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'gr-audio/examples/python/audio_to_file.py') diff --git a/gr-audio/examples/python/audio_to_file.py b/gr-audio/examples/python/audio_to_file.py index 19335a8279..7221e39d1a 100644 --- a/gr-audio/examples/python/audio_to_file.py +++ b/gr-audio/examples/python/audio_to_file.py @@ -14,6 +14,7 @@ from gnuradio import blocks from gnuradio.eng_arg import eng_float from argparse import ArgumentParser + class my_top_block(gr.top_block): def __init__(self): @@ -21,13 +22,13 @@ class my_top_block(gr.top_block): parser = ArgumentParser() parser.add_argument("-I", "--audio-input", default="", - help="pcm input device name. E.g., hw:0,0 or /dev/dsp") + help="pcm input device name. E.g., hw:0,0 or /dev/dsp") parser.add_argument("-r", "--sample-rate", type=eng_float, default=48000, - help="set sample rate to RATE (%(default)r)") + help="set sample rate to RATE (%(default)r)") parser.add_argument("-N", "--nsamples", type=eng_float, - help="number of samples to collect [default=+inf]") + help="number of samples to collect [default=+inf]") parser.add_argument('file_name', metavar='FILE-NAME', - help="Output file path") + help="Output file path") args = parser.parse_args() -- cgit v1.2.3