Skip to content
Snippets Groups Projects
Commit 76cb1d92 authored by Lars Kruse's avatar Lars Kruse
Browse files

build: add target for spelling checks

parent 72f0d5a0
No related branches found
No related tags found
No related merge requests found
# Track aus der secondary_queue oder der Playlist entfernen
# Das oder die ID(s) der gerade abgespielten requests erhalten
# @return: Die Antwort des Liquidsoap-Servers (als String)
SPELLING_PATHS = $(wildcard *.md) docs src
SPELLING_EXCLUDE_FILE = .codespell-excludes
.PHONY: help
help:
@echo "Supported targets:"
@echo " lint - verify code style"
@echo " spelling - check spelling of text"
@echo " style - apply automatic formatting"
@echo
......@@ -11,6 +16,10 @@ lint:
python3 -m flake8 .
.PHONY: spelling
spelling:
codespell --exclude-file "$(SPELLING_EXCLUDE_FILE)" $(SPELLING_PATHS)
.PHONY: style
style:
python3 -m isort .
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment