Merge pull request #500 from return42/various

Various marginal fixes and improvements
This commit is contained in:
Markus Heiser 2021-11-13 15:44:18 +01:00 committed by GitHub
commit 26a6cbadef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 26 additions and 15 deletions

1
manage
View file

@ -77,6 +77,7 @@ pyenv.:
pypi.upload: pypi.upload:
Upload python packages to PyPi (to test use pypi.upload.test) Upload python packages to PyPi (to test use pypi.upload.test)
test.: test.:
yamllint : lint YAML files: $YAMLLINT_FILES
pylint : lint PYLINT_FILES, searx/engines, searx & tests pylint : lint PYLINT_FILES, searx/engines, searx & tests
pep8 : pycodestyle (pep8) for all files except PYLINT_FILES pep8 : pycodestyle (pep8) for all files except PYLINT_FILES
unit : run unit tests unit : run unit tests

View file

@ -152,22 +152,32 @@ outgoing:
# - plugin2 # - plugin2
# - ... # - ...
# uncomment below section if you want to configure which plugin is enabled by # Comment or un-comment plugin to activate / deactivate by default.
# default
# #
# enabled_plugins: # enabled_plugins:
# - "HTTPS rewrite" # # these plugins are enabled if nothing is configured ..
# - "Hostname replace" # see configuration below # - 'Hash plugin'
# - 'Search on category select'
# - 'Self Informations'
# - 'Tracker URL remover'
# - 'Ahmia blacklist' # activation depends on outgoing.using_tor_proxy
# # these plugins are disabled if nothing is configured ..
# - 'Hostname replace' # see hostname_replace configuration below
# - 'Infinite scroll'
# - 'Open Access DOI rewrite'
# - 'Vim-like hotkeys'
# "Hostname replace" plugin configuration example: # Configuration of the "Hostname replace" plugin:
#
# hostname_replace: # hostname_replace:
# '(.*\.)?youtube\.com$': 'invidious.example.com' # '(.*\.)?youtube\.com$': 'invidious.example.com'
# '(.*\.)?youtu\.be$': 'invidious.example.com' # '(.*\.)?youtu\.be$': 'invidious.example.com'
# '(.*\.)?youtube-noocookie\.com$': 'yotter.example.com' # '(.*\.)?youtube-noocookie\.com$': 'yotter.example.com'
# '(.*\.)?reddit\.com$': 'teddit.example.com' # '(.*\.)?reddit\.com$': 'teddit.example.com'
# '(.*\.)?redd\.it$': 'teddit.example.com' # '(.*\.)?redd\.it$': 'teddit.example.com'
# '(www\.)?twitter\.com$': 'nitter.example.com' # '(www\.)?twitter\.com$': 'nitter.example.com'
# 'spam\.example\.com': false # remove results from spam.example.com # # to remove matching host names from result list, set value to false
# 'spam\.example\.com': false
checker: checker:
# disable checker when in debug mode # disable checker when in debug mode