- install pre-commit
conda create -n mlserving python=3.8 pre-commit==2.20.* -c conda-forge -y
conda install yapf==0.32.0 pylint==2.15.5 -c conda-forge -y
pre-commit install
- before
git commit
make sure to runpre-commit run
- create a branch for you new feature
git branch -b new-feature
- develop your new feature
- run the
precommit
andgit commit
- create a pull request for code review
- install the python extension
- setup you virtual env or conda env
- choose your own env
- format code and pylint error prompt (right-click)