Ensure bash scripts exit on fail and explain what they're doing

This commit is contained in:
Marc Di Luzio 2024-08-11 18:07:20 +01:00
parent 129721eb50
commit a480549ad3
2 changed files with 5 additions and 0 deletions

View file

@ -1,2 +1,5 @@
#!/usr/bin/env bash
set -x
set -e
pytest --cov=. --cov-report=html

View file

@ -1,4 +1,6 @@
#!/usr/bin/env bash
set -x
set -e
# Check formatting and linting
flake8 --max-line-length 120 $(git ls-files '*.py')