diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2021-12-27 09:16:03 +0100 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2021-12-27 09:16:03 +0100 |
commit | fcdc2c2cd26e24c2aa3f064d93cee3e29dc2a30c (patch) | |
tree | 3e508c94d5ac69869aa69fc686cd54e02bfcad27 /searx/engines/archlinux.py | |
parent | c849731eb1df23b8509a947fcc2807adb34dc730 (diff) | |
download | searxng-fcdc2c2cd26e24c2aa3f064d93cee3e29dc2a30c.tar.gz searxng-fcdc2c2cd26e24c2aa3f064d93cee3e29dc2a30c.zip |
[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 'searx/engines/archlinux.py')
-rw-r--r-- | searx/engines/archlinux.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/searx/engines/archlinux.py b/searx/engines/archlinux.py index aeac145d1..1aa8d0ade 100644 --- a/searx/engines/archlinux.py +++ b/searx/engines/archlinux.py @@ -39,6 +39,7 @@ def locale_to_lang_code(locale): # wikis for some languages were moved off from the main site, we need to make # requests to correct URLs to be able to get results in those languages lang_urls = { + # fmt: off 'all': { 'base': 'https://wiki.archlinux.org', 'search': '/index.php?title=Special:Search&offset={offset}&{query}' @@ -63,6 +64,7 @@ lang_urls = { 'base': 'http://archtr.org/wiki', 'search': '/index.php?title=Özel:Ara&offset={offset}&{query}' } + # fmt: on } |