mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
pycodestyle check
This commit is contained in:
parent
ac05f0943c
commit
32cefc7101
3 changed files with 26 additions and 13 deletions
|
@ -3,8 +3,12 @@ import inspect
|
|||
from json import JSONDecodeError
|
||||
from urllib.parse import urlparse
|
||||
from httpx import HTTPError, HTTPStatusError
|
||||
from searxng.exceptions import (SearxXPathSyntaxException, SearxEngineXPathException, SearxEngineAPIException,
|
||||
SearxEngineAccessDeniedException)
|
||||
from searxng.exceptions import (
|
||||
SearxXPathSyntaxException,
|
||||
SearxEngineXPathException,
|
||||
SearxEngineAPIException,
|
||||
SearxEngineAccessDeniedException
|
||||
)
|
||||
from searxng import searxng_parent_dir
|
||||
from searxng.engines import engines
|
||||
|
||||
|
|
|
@ -26,7 +26,8 @@ from searxng import logger, settings
|
|||
|
||||
logger = logger.getChild('plugins')
|
||||
|
||||
from searxng.plugins import (oa_doi_rewrite,
|
||||
from searxng.plugins import (
|
||||
oa_doi_rewrite,
|
||||
ahmia_filter,
|
||||
hash_plugin,
|
||||
infinite_scroll,
|
||||
|
@ -34,7 +35,8 @@ from searxng.plugins import (oa_doi_rewrite,
|
|||
hostname_replace,
|
||||
search_on_category_select,
|
||||
tracker_url_remover,
|
||||
vim_hotkeys)
|
||||
vim_hotkeys
|
||||
)
|
||||
|
||||
required_attrs = (('name', str),
|
||||
('description', str),
|
||||
|
|
|
@ -1,5 +1,12 @@
|
|||
from searxng.preferences import (EnumStringSetting, MapSetting, MissingArgumentException, SearchLanguageSetting,
|
||||
MultipleChoiceSetting, PluginsSetting, ValidationException)
|
||||
from searxng.preferences import (
|
||||
EnumStringSetting,
|
||||
MapSetting,
|
||||
MissingArgumentException,
|
||||
SearchLanguageSetting,
|
||||
MultipleChoiceSetting,
|
||||
PluginsSetting,
|
||||
ValidationException
|
||||
)
|
||||
from tests import SearxTestCase
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue