mirror of
https://github.com/microsoft/autogen.git
synced 2025-08-29 11:00:18 +00:00
22 lines
370 B
Bash
22 lines
370 B
Bash
![]() |
set -e
|
||
|
|
||
|
# Current script directory
|
||
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||
|
|
||
|
if [[ "$VIRTUAL_ENV" == "" ]]
|
||
|
then
|
||
|
echo "Virtual environment is not activated"
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
cd $DIR
|
||
|
|
||
|
echo "--- Running ruff format ---"
|
||
|
ruff format
|
||
|
echo "--- Running ruff check ---"
|
||
|
ruff check
|
||
|
echo "--- Running ruff lint ---"
|
||
|
pyright
|
||
|
echo "--- Running ruff test ---"
|
||
|
mypy
|