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-fft/python/fft/qa_window.py | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

(limited to 'gr-fft/python/fft/qa_window.py')

diff --git a/gr-fft/python/fft/qa_window.py b/gr-fft/python/fft/qa_window.py
index f5afd2640d..ba133f6cb4 100644
--- a/gr-fft/python/fft/qa_window.py
+++ b/gr-fft/python/fft/qa_window.py
@@ -14,6 +14,7 @@ import numpy
 from gnuradio import gr_unittest
 from gnuradio import fft
 
+
 class test_window(gr_unittest.TestCase):
     """
     Unit tests for fft.window
@@ -29,9 +30,13 @@ class test_window(gr_unittest.TestCase):
         """
         Verify window normalization
         """
-        win = fft.window.build(fft.win_type.WIN_BLACKMAN_hARRIS, 21, normalize=True)
-        power = numpy.sum([x*x for x in win])/len(win)
+        win = fft.window.build(
+            fft.win_type.WIN_BLACKMAN_hARRIS,
+            21,
+            normalize=True)
+        power = numpy.sum([x * x for x in win]) / len(win)
         self.assertAlmostEqual(power, 1.0)
 
+
 if __name__ == '__main__':
     gr_unittest.run(test_window)
-- 
cgit v1.2.3