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 run pre-commit run