mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-08 04:04:51 +02:00
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 ```
17 lines
349 B
Diff
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
|