File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4848 rev : v0.10.0.1
4949 hooks :
5050 - id : shellcheck
51+ name : run shellcheck
52+ description : finds bugs in your shell scripts
5153 - repo : https://github.com/adrienverge/yamllint
5254 rev : v1.37.1
5355 hooks :
6163 rev : v1.34.0
6264 hooks :
6365 - id : typos
66+ name : run typos
67+ description : check spelling with the typos crate
6468 files : \.(html|md|py|sh|ya?ml)$
6569 args : [--config=.github/linters/.typos.toml]
Original file line number Diff line number Diff line change 11PYTHON ?= python3
22PIP := $(PYTHON ) -m pip
3+ PRECOMMIT ?= pre-commit
34
45.PHONY : install i check c checkinstall ci checkupdate cu help
56.DEFAULT_GOAL := help
@@ -8,13 +9,13 @@ install i: ## Install Python dependencies from requirements.txt
89 $(PIP ) install -r requirements.txt
910
1011check c : # # Run pre-commit checks on all files
11- pre-commit run --all-files
12+ $( PRECOMMIT ) run --all-files
1213
1314checkinstall ci : # # Install pre-commit hooks
14- pre-commit install
15+ $( PRECOMMIT ) install
1516
1617checkupdate cu : # # Update pre-commit hooks to the latest version
17- pre-commit autoupdate
18+ $( PRECOMMIT ) autoupdate
1819
1920help : # # Display this help message
2021 @echo " Usage: make <target>"
You can’t perform that action at this time.
0 commit comments