mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-09 03:55:04 -05:00
tools: add shell_lint target to lint .sh files
- update docker image to install shellcheck - fix lint errors in files
This commit is contained in:
@@ -30,16 +30,16 @@ do
|
||||
|
||||
*)
|
||||
echo "Unknown param : $1"
|
||||
exit -1
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
|
||||
for SRC_DIR in "${DIRS[@]}"; do
|
||||
isort --profile black ${CHECK} ${SRC_DIR}
|
||||
isort --profile black "${CHECK}" "${SRC_DIR}"
|
||||
((FAILURES+=$?))
|
||||
black -l 100 ${CHECK} ${SRC_DIR}
|
||||
black -l 100 "${CHECK}" "${SRC_DIR}"
|
||||
((FAILURES+=$?))
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user