Skip to content
Snippets Groups Projects

Add pre-commit hook and improve with better linting

Merged Hannes Feldt requested to merge add-pre-commit-improve-tox-setup into main
All threads resolved!
Compare and
16 files
+ 181
72
Compare changes
  • Side-by-side
  • Inline

Files

 
#!/bin/bash
 
 
if [ ! -f "setup.sh" ]; then
 
echo "pre-commit.sh must be executed with repository root as working directory!"
 
exit 1
 
fi
 
 
pre-commit install --hook-type pre-push
Loading