diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2022-04-23 09:44:55 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2022-05-07 18:21:21 +0200 |
commit | 9ed6261308da1fafb0bda4c5bd5cf73c7b4c3444 (patch) | |
tree | a56d33cc91679e9f92413169a9f8b4e4706a4897 /manage | |
parent | 30756d5cfc517f63a0778a54799ab6431e062e56 (diff) | |
download | searxng-9ed6261308da1fafb0bda4c5bd5cf73c7b4c3444.tar.gz searxng-9ed6261308da1fafb0bda4c5bd5cf73c7b4c3444.zip |
[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 <markus.heiser@darmarit.de>
Diffstat (limited to 'manage')
-rwxr-xr-x | manage | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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() { |