summaryrefslogtreecommitdiff
path: root/searxng_extra
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarIT.de>2025-09-26 12:35:57 +0200
committerGitHub <noreply@github.com>2025-09-26 12:35:57 +0200
commit81cbe0befe993b57b7daee2643e6016586262436 (patch)
tree8150d1726979b5daf1ffdd52bbded36d3e89c0b9 /searxng_extra
parent1091643f327e52cac0cff63cf9abeb4f9fc60370 (diff)
[upd] pypi: Bump black from 24.3.0 to 25.9.0 (#5251)
In 25.1.0 [2] an old bug has been fixed: "Docstring formatting does not apply to module docstrings" [3]. [1] https://github.com/psf/black/blob/main/CHANGES.md#2590 [2] https://github.com/psf/black/blob/main/CHANGES.md#2510 [3] https://github.com/psf/black/issues/4094 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searxng_extra')
-rwxr-xr-xsearxng_extra/update/update_engine_traits.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/searxng_extra/update/update_engine_traits.py b/searxng_extra/update/update_engine_traits.py
index a28d4d496..e52f7456d 100755
--- a/searxng_extra/update/update_engine_traits.py
+++ b/searxng_extra/update/update_engine_traits.py
@@ -50,7 +50,7 @@ A list of five-digit tuples:
Empty string for language tags.
3. English language name (from :py:obj:`babel.core.Locale.english_name`)
4. Unicode flag (emoji) that fits to SearXNG's internal region tag. Languages
- are represented by a globe (\U0001F310)
+ are represented by a globe (\U0001f310)
.. code:: python
@@ -68,11 +68,11 @@ A list of five-digit tuples:
lang2emoji = {
- 'ha': '\U0001F1F3\U0001F1EA', # Hausa / Niger
- 'bs': '\U0001F1E7\U0001F1E6', # Bosnian / Bosnia & Herzegovina
- 'jp': '\U0001F1EF\U0001F1F5', # Japanese
- 'ua': '\U0001F1FA\U0001F1E6', # Ukrainian
- 'he': '\U0001F1EE\U0001F1F1', # Hebrew
+ 'ha': '\U0001f1f3\U0001f1ea', # Hausa / Niger
+ 'bs': '\U0001f1e7\U0001f1e6', # Bosnian / Bosnia & Herzegovina
+ 'jp': '\U0001f1ef\U0001f1f5', # Japanese
+ 'ua': '\U0001f1fa\U0001f1e6', # Ukrainian
+ 'he': '\U0001f1ee\U0001f1f1', # Hebrew
}
@@ -178,7 +178,7 @@ def get_unicode_flag(locale: babel.Locale):
return emoji
if not locale.territory:
- return '\U0001F310'
+ return '\U0001f310'
emoji = lang2emoji.get(locale.territory.lower())
if emoji: