(English below)
Hay tres checkeos en cualquier pull request:
- ruff-lint
- pytest
- que la salida de los notebooks está borrada
1 y 2 son tareas para ustedes (pista: la comanda pytest
para ejecutar pytest).
De 3, se puede installar este hook (guancho):
cp /directorio/a/descargas/pre-commit /directorio/a/repo/.git/hooks/
chmod +x /directorio/a/repo/.git/hooks/pre-commit
There are three checks on any pull request:
- ruff-lint
- pytest
- verification that notebook output is cleared
Number 1 and 2 are left as an exercise to you (hint: run pytest
to run pytest).
For number 3, feel free to install this hook:
cp /path/to/downloads/pre-commit /path/to/repo/.git/hooks/
chmod +x /path/to/repo/.git/hooks/pre-commit