[mod] py: format

This commit is contained in:
Ivan Gabaldon
2026-09-12 20:29:15 +02:00
parent a0ab3b4f11
commit a1d4e26880
86 changed files with 49 additions and 72 deletions

View File

@@ -8,6 +8,7 @@ Output file: :origin:`searx/data/ahmia_blacklist.txt` (:origin:`CI Update data
.. _Ahmia's blacklist: https://ahmia.fi/blacklist/
"""
# pylint: disable=use-dict-literal
import requests

View File

@@ -12,6 +12,7 @@ The script :origin:`searxng_extra/update/update_engine_traits.py` is called in
the :origin:`CI Update data ... <.github/workflows/data-update.yml>`
"""
# pylint: disable=invalid-name
import typing as t

View File

@@ -6,6 +6,7 @@ Output file: :origin:`searx/data/useragents.json` (:origin:`CI Update data ...
<.github/workflows/data-update.yml>`).
"""
# pylint: disable=use-dict-literal
import json

View File

@@ -6,6 +6,7 @@
- :py:obj:`searx.locales.RTL_LOCALES`
- :py:obj:`searx.locales.LOCALE_NAMES`
"""
# pylint: disable=invalid-name
from typing import Set

View File

@@ -5,6 +5,7 @@
Call this script after each upgrade of pygments
"""
# pylint: disable=too-few-public-methods
from pathlib import Path