chore: move dev.sh to backend folder and setup pre-commit

This commit is contained in:
100gle
2023-06-09 13:13:28 +08:00
parent e336fd7402
commit c0bbc21c19

3
dev.sh → backend/dev.sh Executable file → Normal file
View File

@@ -5,6 +5,9 @@
python3 -m pip install -i https://pypi.tuna.tsinghua.edu.cn/simple install -r requirements-dev.txt
# install git-hooks for pre-commit before committing.
pre-commit install
cd src || exit
CONFIG_DIR="config"