Merge pull request #144 from return42/fix-yamllint

[yamllint] ./utils/templates/etc/searx/*.yml
This commit is contained in:
Alexandre Flament 2021-06-13 10:15:53 +02:00 committed by GitHub
commit 8cab37229f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 17 deletions

2
manage
View File

@ -32,7 +32,7 @@ pylint.FILES() {
YAMLLINT_FILES=() YAMLLINT_FILES=()
while IFS= read -r line; do while IFS= read -r line; do
YAMLLINT_FILES+=("$line") YAMLLINT_FILES+=("$line")
done <<< "$(git ls-files './tests/*.yml' './searx/*.yml')" done <<< "$(git ls-files './tests/*.yml' './searx/*.yml' './utils/templates/etc/searx/*.yml')"
PYLINT_SEARX_DISABLE_OPTION="\ PYLINT_SEARX_DISABLE_OPTION="\
I,C,R,\ I,C,R,\

View File

@ -1,23 +1,34 @@
use_default_settings: True use_default_settings: true
general: general:
debug : False # Debug mode, only for development debug: false # Debug mode, only for development
instance_name : "searx" # displayed name instance_name: "searxng" # displayed name
contact_url: false # mailto:contact@example.com
search: search:
safe_search : 0 # Filter results. 0: None, 1: Moderate, 2: Strict # Filter results. 0: None, 1: Moderate, 2: Strict
autocomplete : "" # Existing autocomplete backends: "dbpedia", "duckduckgo", "google", "startpage", "swisscows", "qwant", "wikipedia" - leave blank to turn it off by default safe_search: 0
default_lang : "" # Default search language - leave blank to detect from browser information or use codes from 'languages.py' # Existing autocomplete backends: "dbpedia", "duckduckgo", "google",
# "startpage", "swisscows", "qwant", "wikipedia" - leave blank to turn it off
# by default.
autocomplete: ""
# Default search language - leave blank to detect from browser information or
# use codes from 'languages.py'
default_lang: ""
# remove format to deny access, use lower case.
formats: [html, csv, json, rss] formats: [html, csv, json, rss]
server: server:
port: 8888 port: 8888
bind_address : "127.0.0.1" # address to listen on # address to listen on
bind_address: "127.0.0.1"
secret_key: "ultrasecretkey" # change this! secret_key: "ultrasecretkey" # change this!
base_url : False # Set custom base_url. Possible values: False or "https://your.custom.host/location/" # Set custom base_url. Possible values:
image_proxy : False # Proxying image results through searx # false or "https://your.custom.host/location/"
base_url: https://darmarit.org/searx
# Proxying image results through searx
image_proxy: false
# uncomment below section if you have running morty proxy
# result_proxy: # result_proxy:
# url: http://127.0.0.1:3000/ # url: http://127.0.0.1:3000/
# key: !!binary "your_morty_proxy_key" # key: !!binary "your_morty_proxy_key"