Skip to content

Commit

Permalink
chore: install all pre-commit hook types by default (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
guacs authored Sep 30, 2023
1 parent 2295b3e commit ed3296b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
default_language_version:
python: "3.11"
default_install_hook_types: [commit-msg, pre-commit]
repos:
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v2.4.0
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ install: ## Install the project and
if [ "$(VENV_EXISTS)" ]; then $(MAKE) clean; fi
@if [ "$(USING_PDM)" ]; then $(PDM) config venv.in_project true && python3 -m venv --copies .venv && . $(ENV_PREFIX)/activate && $(ENV_PREFIX)/pip install --quiet -U wheel setuptools cython pip; fi
@if [ "$(USING_PDM)" ]; then $(PDM) install -G:all; fi
@.venv/bin/pre-commit install
@echo "=> Install complete! Note: If you want to re-install re-run 'make install'"


Expand Down

0 comments on commit ed3296b

Please sign in to comment.