Skip to content

Commit

Permalink
Merge pull request #6 from project-delphi/5-pre-commit-venv-breaks-cicd
Browse files Browse the repository at this point in the history
fix(ci): fix precommit venv
  • Loading branch information
project-delphi authored Oct 20, 2023
2 parents e9bae7b + f09d5b1 commit c8287cb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ uninstall:# Uninstall all dependencies

.PHONY: sandbox-pre-commit-init
sandbox-pre-commit-init:## Create a new virtual environment and install all dependencies
source ./.venv/bin/activate
pre-commit install && pre-commit autoupdate

.PHONY: sandbox-new
Expand Down Expand Up @@ -190,6 +191,7 @@ validate: clean install format lint tests## Validate code with quality checks

.PHONY: pre-commit-run
pre-commit-run:## Run updated pre-commit formatting and linting hooks on all files
source ./.venv/bin/activate
pre-commit run --all-files

.PHONY: pre-commit-run-validate
Expand Down

0 comments on commit c8287cb

Please sign in to comment.