Just a repo to test out pre-commit hooks for python and Github Actions
Setup a environment
conda create -n precommit python=3.10
Install packages:
pip install -r requirements.txt
When git commit -m 'your commit message'
is run, the checks take place, no commit is allowed until the checks have passed
Check if tests have passed by running pytest
in your terminal.
The CI Pipeline and tests will run when a PR is created.
References: