# Create python virtual environment
python3 -m venv venv
# Activate this environment
source venv/bin/activate
# Install dependencies
pip install -r requirements.dev.txt
pytest
You can done commit
only after pytest
will done success.
Pre-commit script stored in .git/hooks/pre-commit
file; current script is:
#!/bin/sh
pytest