diff options
author | mormj <mormjb@gmail.com> | 2020-10-30 10:59:50 -0400 |
---|---|---|
committer | Marcus Müller <marcus@hostalia.de> | 2020-10-30 17:52:53 +0100 |
commit | 7a0948ba85758fba1cc3858ef99bfa600dcc7416 (patch) | |
tree | 610d7f9d773a193562def6df2d4b50f1bb3b3f86 /gr-blocks/python/blocks/qa_peak_detector.py | |
parent | 12192ee7d58de95ddca35a3e93bfc172bdb5c820 (diff) |
qa: run autopep8 formatting on qa python files
find ./ -iname qa*.py | xargs autopep8 --in-place -a -a
mostly formats whitespace and gets rid of trailing semicolons
Diffstat (limited to 'gr-blocks/python/blocks/qa_peak_detector.py')
-rw-r--r-- | gr-blocks/python/blocks/qa_peak_detector.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gr-blocks/python/blocks/qa_peak_detector.py b/gr-blocks/python/blocks/qa_peak_detector.py index 297e6cc040..1fe4663e6b 100644 --- a/gr-blocks/python/blocks/qa_peak_detector.py +++ b/gr-blocks/python/blocks/qa_peak_detector.py @@ -11,6 +11,7 @@ from gnuradio import gr, gr_unittest, blocks + class test_peak_detector(gr_unittest.TestCase): def setUp(self): @@ -82,5 +83,6 @@ class test_peak_detector(gr_unittest.TestCase): self.assertEqual(expected_result, dst_data) + if __name__ == '__main__': gr_unittest.run(test_peak_detector) |