mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
🐛 add missing clean_pyc function
This commit is contained in:
parent
2c832ffc13
commit
8965252108
1 changed files with 9 additions and 0 deletions
|
|
@ -164,6 +164,15 @@ default_help() {
|
|||
echo ""
|
||||
}
|
||||
|
||||
clean_pyc () {
|
||||
local path
|
||||
path=$repo_root
|
||||
echo -e "${BIGreen}>>>${RST} Cleaning pyc at [ ${BIWhite}$path${RST} ] ... \c"
|
||||
find "$path" -path ./build -o -regex '^.*\(__pycache__\|\.py[co]\)$' -delete
|
||||
|
||||
echo -e "${BIGreen}DONE${RST}"
|
||||
}
|
||||
|
||||
run_ruff () {
|
||||
echo -e "${BIGreen}>>>${RST} Running Ruff check ..."
|
||||
"$POETRY_HOME/bin/poetry" run ruff check
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue