mirror of
https://gitee.com/dify_ai/dify.git
synced 2024-12-05 04:38:37 +08:00
13 lines
203 B
Bash
Executable File
13 lines
203 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -x
|
|
|
|
# python style checks rely on `ruff` in path
|
|
if ! command -v ruff &> /dev/null; then
|
|
echo "Installing Ruff ..."
|
|
pip install ruff
|
|
fi
|
|
|
|
# run ruff linter
|
|
ruff check --fix ./api
|