mirror of
https://github.com/searxng/searxng.git
synced 2025-08-03 02:22:22 +02:00
[mod] make python code pylint 2.16.1 compliant
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
7320b0c796
commit
4c06837a50
9 changed files with 12 additions and 3 deletions
|
@ -3,6 +3,7 @@
|
|||
"""This module implements functions needed for the autocompleter.
|
||||
|
||||
"""
|
||||
# pylint: disable=use-dict-literal
|
||||
|
||||
from json import loads
|
||||
from urllib.parse import urlencode
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
# lint: pylint
|
||||
"""Semantic Scholar (Science)
|
||||
"""
|
||||
# pylint: disable=use-dict-literal
|
||||
|
||||
from urllib.parse import urlencode
|
||||
from searx.utils import html_to_text
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
"""Docker Hub (IT)
|
||||
|
||||
"""
|
||||
# pylint: disable=use-dict-literal
|
||||
|
||||
from json import loads
|
||||
from urllib.parse import urlencode
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
"""
|
||||
Gigablast (Web)
|
||||
"""
|
||||
# pylint: disable=invalid-name
|
||||
# pylint: disable=invalid-name, use-dict-literal
|
||||
|
||||
import re
|
||||
from time import time
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
"""Processores for engine-type: ``online``
|
||||
|
||||
"""
|
||||
# pylint: disable=use-dict-literal
|
||||
|
||||
from timeit import default_timer
|
||||
import asyncio
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
"""WebbApp
|
||||
|
||||
"""
|
||||
# pylint: disable=use-dict-literal
|
||||
|
||||
import hashlib
|
||||
import hmac
|
||||
import json
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue