diff libervia/backend/plugins/plugin_comp_ap_gateway/regex.py @ 4270:0d7bb4df2343

Reformatted code base using black.
author Goffi <goffi@goffi.org>
date Wed, 19 Jun 2024 18:44:57 +0200
parents 4b842c1fb686
children
line wrap: on
line diff
--- a/libervia/backend/plugins/plugin_comp_ap_gateway/regex.py	Tue Jun 18 12:06:45 2024 +0200
+++ b/libervia/backend/plugins/plugin_comp_ap_gateway/regex.py	Wed Jun 19 18:44:57 2024 +0200
@@ -42,17 +42,17 @@
 # obs-text = %x80-FF
 # ---
 
-ows = '[ \t]*'
-bws = f'{ows}'
-obs_text = '[\\x80-\\xff]'
-qdtext = f'([\t !#-\\[\\]-~]|{obs_text})'
-quoted_pair = f'\\\\([\t !-~]|{obs_text})'
+ows = "[ \t]*"
+bws = f"{ows}"
+obs_text = "[\\x80-\\xff]"
+qdtext = f"([\t !#-\\[\\]-~]|{obs_text})"
+quoted_pair = f"\\\\([\t !-~]|{obs_text})"
 quoted_string = f'"({qdtext}|{quoted_pair})*"'
 tchar = "([!#$%&`*+\\-.^_]|\\\\'|[|~0-9a-zA-Z])"
-token = f'({tchar})+'
+token = f"({tchar})+"
 RE_SIG_PARAM = re.compile(
-    f'(?P<key>{token}{bws})={bws}'
-    f'((?P<uq_value>{token})|(?P<quoted_value>{quoted_string}))'
+    f"(?P<key>{token}{bws})={bws}"
+    f"((?P<uq_value>{token})|(?P<quoted_value>{quoted_string}))"
 )