diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2024-03-11 07:45:08 +0100 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarIT.de> | 2024-03-11 14:55:38 +0100 |
commit | 8205f170ff983e5240d32dc17d7fdb526ebe5fe7 (patch) | |
tree | 536acda827bcdd1a6668714855e6f6c3ba6b68d4 /manage | |
parent | 707d6270c80426b54aeaa0ac0acd80ded45df533 (diff) | |
download | searxng-8205f170ff983e5240d32dc17d7fdb526ebe5fe7.tar.gz searxng-8205f170ff983e5240d32dc17d7fdb526ebe5fe7.zip |
[mod] pylint all engines without PYLINT_SEARXNG_DISABLE_OPTION
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'manage')
-rwxr-xr-x | manage | 14 |
1 files changed, 5 insertions, 9 deletions
@@ -64,6 +64,11 @@ pylint.FILES() { find . -name searxng.msg } +PYLINT_FILES=() +while IFS= read -r line; do + PYLINT_FILES+=("$line") +done <<< "$(pylint.FILES)" + YAMLLINT_FILES=() while IFS= read -r line; do YAMLLINT_FILES+=("$line") @@ -77,9 +82,6 @@ PYLINT_SEARXNG_DISABLE_OPTION="\ I,C,R,\ W0105,W0212,W0511,W0603,W0613,W0621,W0702,W0703,W1401,\ E1136" -PYLINT_ADDITIONAL_BUILTINS_FOR_ENGINES="traits,supported_languages,language_aliases,logger,categories" -PYLINT_OPTIONS="-m pylint -j 0 --rcfile .pylintrc" - help() { nvm.help cat <<EOF @@ -338,12 +340,6 @@ format.python() { dump_return $? } - -PYLINT_FILES=() -while IFS= read -r line; do - PYLINT_FILES+=("$line") -done <<< "$(pylint.FILES)" - # shellcheck disable=SC2119 main() { |