From 998ec900cc863f7ede0af78ff30fb3a39d0eb593 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Sat, 23 Apr 2022 09:44:55 +0200 Subject: [PATCH] [fix] format.python: regexp argument '--include' in BLACK_TARGETS --include TEXT A regular expression that matches files and directories that should be included on recursive searches. An empty value means all files are included regardless of the name. ... Exclusions are calculated first, inclusions later. [default: \.pyi?$] Closes: https://github.com/searxng/searxng/issues/1142 Signed-off-by: Markus Heiser --- manage | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manage b/manage index cfba8aea8..0bd775d8e 100755 --- a/manage +++ b/manage @@ -30,7 +30,7 @@ GECKODRIVER_VERSION="v0.30.0" export NODE_MINIMUM_VERSION="16.13.0" # SPHINXOPTS= BLACK_OPTIONS=("--target-version" "py37" "--line-length" "120" "--skip-string-normalization") -BLACK_TARGETS=("--exclude" "searx/static,searx/languages.py" "--include" "searxng.msg" "searx" "searxng_extra" "tests") +BLACK_TARGETS=("--exclude" "searx/static,searx/languages.py" "--include" 'searxng.msg|\.pyi?$' "searx" "searxng_extra" "tests") pylint.FILES() {