Skip to content
Snippets Groups Projects
  • robinwilliam.hundt's avatar
    7147fbe8
    Finally working prospector pre-commit check!!!! · 7147fbe8
    robinwilliam.hundt authored
    To enable the pre-commit checks first run pip -Ur requierements.txt to install pre-commit. Next run pre-commit install to install the hook in your .git/hooks folder. Running pre-commit will now run prospector on all new or modified files in the backend/ directory (see pre-commit-scripts/prospector.sh for the arguments that are used). If you get an error saying prospector not found or smth. make sure you have the venvv activated or prospector installed globally.
    7147fbe8
    History
    Finally working prospector pre-commit check!!!!
    robinwilliam.hundt authored
    To enable the pre-commit checks first run pip -Ur requierements.txt to install pre-commit. Next run pre-commit install to install the hook in your .git/hooks folder. Running pre-commit will now run prospector on all new or modified files in the backend/ directory (see pre-commit-scripts/prospector.sh for the arguments that are used). If you get an error saying prospector not found or smth. make sure you have the venvv activated or prospector installed globally.
.pre-commit-config.yaml 181 B