From 3cecf9268b15bb0e9e2fedaeb2528bd3038beee6 Mon Sep 17 00:00:00 2001
From: Josh Morman <jmorman@gnuradio.org>
Date: Wed, 24 Nov 2021 12:25:09 -0500
Subject: digital: pep8 formatting

Signed-off-by: Josh Morman <jmorman@gnuradio.org>
---
 gr-digital/python/digital/qpsk.py | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

(limited to 'gr-digital/python/digital/qpsk.py')

diff --git a/gr-digital/python/digital/qpsk.py b/gr-digital/python/digital/qpsk.py
index db97d31fc3..22587948fc 100644
--- a/gr-digital/python/digital/qpsk.py
+++ b/gr-digital/python/digital/qpsk.py
@@ -27,23 +27,28 @@ _def_mod_code = mod_codes.GRAY_CODE
 #                           QPSK constellation
 # /////////////////////////////////////////////////////////////////////////////
 
+
 def qpsk_constellation(mod_code=_def_mod_code):
     """
     Creates a QPSK constellation.
     """
     if mod_code != mod_codes.GRAY_CODE:
-        raise ValueError("This QPSK mod/demod works only for gray-coded constellations.")
+        raise ValueError(
+            "This QPSK mod/demod works only for gray-coded constellations.")
     return digital.constellation_qpsk()
 
 # /////////////////////////////////////////////////////////////////////////////
 #                           DQPSK constellation
 # /////////////////////////////////////////////////////////////////////////////
 
+
 def dqpsk_constellation(mod_code=_def_mod_code):
     if mod_code != mod_codes.GRAY_CODE:
-        raise ValueError("The DQPSK constellation is only generated for gray_coding.  But it can be used for non-grayed coded modulation if one doesn't use the pre-differential code.")
+        raise ValueError(
+            "The DQPSK constellation is only generated for gray_coding.  But it can be used for non-grayed coded modulation if one doesn't use the pre-differential code.")
     return digital.constellation_dqpsk()
 
+
 #
 # Add these to the mod/demod registry
 #
-- 
cgit v1.2.3