SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.
Python bingbravedegoogleduckduckgogooglemetasearchprivacypythonqwantsearchsearch-enginesearxsearxngstartpageyahoo
[mod] digg - pylint searx/engines/digg.py
Markus Heiser6b0a896f01eb
diff --git a/Makefile b/Makefileindex 326c19336..4a873f0c6 100644--- a/Makefile+++ b/Makefile@@ -212,15 +212,15 @@ gecko.driver:PHONY += test test.sh test.pylint test.pep8 test.unit test.coverage test.robottest: buildenv test.pylint test.pep8 test.unit gecko.driver test.robot+PYLINT_FILES=\+ searx/preferences.py \+ searx/testing.py \+ searx/engines/gigablast.py \+ searx/engines/deviantart.py \+ searx/engines/digg.py-# TODO: balance linting with pylinttest.pylint: pyenvinstall- $(call cmd,pylint,\- searx/preferences.py \- searx/testing.py \- searx/engines/gigablast.py \- searx/engines/deviantart.py \- )+ $(call cmd,pylint,$(PYLINT_FILES))$(call cmd,pylint,\--disable=$(PYLINT_SEARX_DISABLE_OPTION) \--additional-builtins=$(PYLINT_ADDITIONAL_BUILTINS_FOR_ENGINES) \@@ -249,7 +249,7 @@ test.sh:test.pep8: pyenvinstall@echo "TEST pycodestyle (formerly pep8)"- $(Q)$(PY_ENV_ACT); pycodestyle --exclude='searx/static, searx/languages.py, searx/engines/gigablast.py, searx/engines/deviantart.py' \+ $(Q)$(PY_ENV_ACT); pycodestyle --exclude='searx/static, searx/languages.py, $(foreach f,$(PYLINT_FILES),$(f),)' \--max-line-length=120 --ignore "E117,E252,E402,E722,E741,W503,W504,W605" searx teststest.unit: pyenvinstalldiff --git a/searx/engines/digg.py b/searx/engines/digg.pyindex cb007d40d..63bce51cf 100644--- a/searx/engines/digg.py+++ b/searx/engines/digg.py@@ -9,6 +9,7 @@@stable no (HTML can change)@parse url, title, content, publishedDate, thumbnail"""+# pylint: disable=missing-function-docstringimport randomimport string