Minor fixes to satisfy the linter

This commit is contained in:
Noémi Ványi 2022-01-21 17:50:37 +01:00
parent d592159cc5
commit 148090df12
2 changed files with 3 additions and 1 deletions

View File

@ -8,7 +8,7 @@ Definitions`_.
https://developers.google.com/custom-search/docs/xml_results#WebSearch_Query_Parameter_Definitions
"""
# pylint: disable=invalid-name, missing-function-docstring
# pylint: disable=invalid-name, missing-function-docstring, too-many-branches
from urllib.parse import urlencode
from lxml import html

View File

@ -16,6 +16,7 @@ from lxml import html
from babel import Locale
from babel.localedata import locale_identifiers
from searx import logger
from searx.network import get
from searx.utils import extract_text, eval_xpath, match_language
from searx.exceptions import (
@ -23,6 +24,7 @@ from searx.exceptions import (
SearxEngineCaptchaException,
)
logger = logger.getChild('startpage')
# about
about = {