mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 03:32:23 +08:00
12 lines
285 B
Bash
Executable File
12 lines
285 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -x
|
|
|
|
# python style checks rely on `isort` in path
|
|
if ! command -v isort &> /dev/null
|
|
then
|
|
echo "Skip Python imports linting, since 'isort' is not available. Please install it with 'pip install isort'."
|
|
else
|
|
isort --settings ./.github/linters/.isort.cfg ./
|
|
fi
|