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
Compare and
18 files
+ 175
107
Compare changes
  • Side-by-side
  • Inline
Files
18
#!/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