summaryrefslogtreecommitdiff
path: root/searxng_extra/update/update_firefox_version.py
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2021-12-27 09:16:03 +0100
committerMarkus Heiser <markus.heiser@darmarit.de>2021-12-27 09:16:03 +0100
commitfcdc2c2cd26e24c2aa3f064d93cee3e29dc2a30c (patch)
tree3e508c94d5ac69869aa69fc686cd54e02bfcad27 /searxng_extra/update/update_firefox_version.py
parentc849731eb1df23b8509a947fcc2807adb34dc730 (diff)
[format.python] disable py code formatting for some hunks of code
Disable the python code formatting from python-black, where the readability of code suffers by formatting. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searxng_extra/update/update_firefox_version.py')
-rwxr-xr-xsearxng_extra/update/update_firefox_version.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/searxng_extra/update/update_firefox_version.py b/searxng_extra/update/update_firefox_version.py
index 07bcef7f6..3b536f296 100755
--- a/searxng_extra/update/update_firefox_version.py
+++ b/searxng_extra/update/update_firefox_version.py
@@ -19,10 +19,12 @@ NORMAL_REGEX = re.compile('^[0-9]+\.[0-9](\.[0-9])?$')
#
useragents = {
+ # fmt: off
"versions": (),
"os": ('Windows NT 10.0; Win64; x64',
'X11; Linux x86_64'),
- "ua": "Mozilla/5.0 ({os}; rv:{version}) Gecko/20100101 Firefox/{version}"
+ "ua": "Mozilla/5.0 ({os}; rv:{version}) Gecko/20100101 Firefox/{version}",
+ # fmt: on
}