From 3d96a9839a12649874b6d4cf9466bd3616b0a03c Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Mon, 27 Dec 2021 09:26:22 +0100 Subject: [format.python] initial formatting of the python code This patch was generated by black [1]:: make format.python [1] https://github.com/psf/black Signed-off-by: Markus Heiser --- searxng_extra/update/update_pygments.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'searxng_extra/update/update_pygments.py') diff --git a/searxng_extra/update/update_pygments.py b/searxng_extra/update/update_pygments.py index fee63faa5..68aaad0f7 100755 --- a/searxng_extra/update/update_pygments.py +++ b/searxng_extra/update/update_pygments.py @@ -120,7 +120,7 @@ def get_css(cssclass, style): css_text = HtmlFormatter(style=style).get_style_defs(cssclass) result += cssclass + RULE_CODE_LINENOS + '\n\n' for line in css_text.splitlines(): - if ' ' in line and not line.startswith(cssclass): + if ' ' in line and not line.startswith(cssclass): line = cssclass + ' ' + line result += line + '\n' return result -- cgit v1.2.3