diff options
| author | Markus Heiser <markus.heiser@darmarit.de> | 2023-10-13 12:33:01 +0200 |
|---|---|---|
| committer | Markus Heiser <markus.heiser@darmarIT.de> | 2023-10-13 12:44:18 +0200 |
| commit | 70521339d9368477a64b6d1751ad773236b16af3 (patch) | |
| tree | 54b633c01b206efeedda36129e6920172dc3f041 /docs/dev | |
| parent | 7ee1d035bf61c4e355b6b54430e74079e0fee1af (diff) | |
[fix] black --exclude option is a regular expression
When ``searx/static/themes/simple/node_modules`` are installed the test from
black runs into this path / Error::
$ make test
TEST [yamllint] $YAMLLINT_FILES
TEST [black] $BLACK_TARGETS
--- searx/static/themes/simple/node_modules/flatted/python/test.py 2023-10-13 10:09:50.460026 +0000
+++ searx/static/themes/simple/node_modules/flatted/python/test.py 2023-10-13 10:10:04.974335 +0000
@@ -1,9 +1,11 @@
from flatted import stringify as _stringify, parse
...
black --exclude option is not a comma separated list, its a regular expression /
see:
$ black --help
...
--exclude TEXT A regular expression that matches files and
directories that should be excluded on recursive
searches ...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'docs/dev')
0 files changed, 0 insertions, 0 deletions