Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
PYTHON := $(shell command -v python || command -v python3 || echo python)
PIP := $(PYTHON) -m pip

.PHONY: check checkinstall checkupdate install
.PHONY: check checkinstall checkupdate createwordlist install

check: checkinstall
@echo "Running pre-commit checks..."
Expand All @@ -32,6 +32,10 @@ checkupdate:
@echo "Updating pre-commit hooks..."
pre-commit autoupdate

createwordlist: install
@echo "Regenerating the ignored words list codespell.txt"
codespell --skip='./extras' | cut -f2 -d' ' | tr A-Z a-z | sort | uniq > .github/linters/codespell.txt

install:
@echo "Installing dependencies..."
@if [ -f requirements-dev.txt ]; then \
Expand Down
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
codespell
pre-commit