From 7a0948ba85758fba1cc3858ef99bfa600dcc7416 Mon Sep 17 00:00:00 2001 From: mormj <mormjb@gmail.com> Date: Fri, 30 Oct 2020 10:59:50 -0400 Subject: 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 --- gr-digital/python/digital/qa_map.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'gr-digital/python/digital/qa_map.py') diff --git a/gr-digital/python/digital/qa_map.py b/gr-digital/python/digital/qa_map.py index 59d0ed1ee5..384636e595 100644 --- a/gr-digital/python/digital/qa_map.py +++ b/gr-digital/python/digital/qa_map.py @@ -1,16 +1,17 @@ #!/usr/bin/env python # # Copyright 2012,2013 Free Software Foundation, Inc. -# +# # This file is part of GNU Radio -# +# # SPDX-License-Identifier: GPL-3.0-or-later # -# +# from gnuradio import gr, gr_unittest, digital, blocks + class test_map(gr_unittest.TestCase): def setUp(self): @@ -34,15 +35,15 @@ class test_map(gr_unittest.TestCase): def test_001(self): symbols = [0, 0, 0, 0] self.helper(symbols) - + def test_002(self): symbols = [3, 2, 1, 0] self.helper(symbols) def test_003(self): - symbols = [8-1, 32-1, 128, 256-1] + symbols = [8 - 1, 32 - 1, 128, 256 - 1] self.helper(symbols) + if __name__ == '__main__': gr_unittest.run(test_map) - -- cgit v1.2.3