aports/community/icdiff/remove-black-formatter-check.patch
mio c628398714 community/icdiff: remove black formatter check
As of version 25.1.0, black identified 1 file to be reformatted. When
there are files to be reformatted, the `--check` flag in the black
command used in `test.sh` returns error code 1 which triggered the error
message.

Per discussion with package maintainer, remove the unneeded formatter check.

```
Running black formatter...

Consider running `black icdiff --line-length 79`
FAIL
```
2025-05-01 15:01:45 +00:00

17 lines
349 B
Diff

--- a/test.sh
+++ b/test.sh
@@ -210,14 +210,6 @@
fi
}
-ensure_installed "black"
-echo 'Running black formatter...'
-if ! black icdiff --quiet --line-length 79 --check; then
- echo ""
- echo 'Consider running `black icdiff --line-length 79`'
- fail
-fi
-
ensure_installed "flake8"
echo 'Running flake8 linter...'
if ! flake8 icdiff; then