diff options
| author | Markus Heiser <markus.heiser@darmarit.de> | 2021-09-06 17:47:28 +0200 |
|---|---|---|
| committer | Markus Heiser <markus.heiser@darmarit.de> | 2021-09-06 17:47:28 +0200 |
| commit | 7b235a1c36b09cfe2c6b4c97c3b6dad77e51d5ae (patch) | |
| tree | 6829e583cd7c59ffd75b9ab77b2679d2b12e19e4 /manage | |
| parent | a26e4eff10b8ed41d7012390d4efc575b9da8eb0 (diff) | |
[mod] one logger per engine
Suggested-by: @dalf in https://github.com/searxng/searxng/issues/98#issuecomment-849013518
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'manage')
| -rwxr-xr-x | manage | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -37,7 +37,7 @@ PYLINT_SEARX_DISABLE_OPTION="\ I,C,R,\ W0105,W0212,W0511,W0603,W0613,W0621,W0702,W0703,W1401,\ E1136" -PYLINT_ADDITIONAL_BUILTINS_FOR_ENGINES="supported_languages,language_aliases" +PYLINT_ADDITIONAL_BUILTINS_FOR_ENGINES="supported_languages,language_aliases,logger" PYLINT_OPTIONS="-m pylint -j 0 --rcfile .pylintrc" help() { @@ -588,6 +588,7 @@ test.pylint() { ( set -e build_msg TEST "[pylint] \$PYLINT_FILES" pyenv.cmd python ${PYLINT_OPTIONS} ${PYLINT_VERBOSE} \ + --additional-builtins="${PYLINT_ADDITIONAL_BUILTINS_FOR_ENGINES}" \ "${PYLINT_FILES[@]}" build_msg TEST "[pylint] searx/engines" |