Make "checkformat" and "format" do both linting and formatting

This commit is contained in:
Christopher Broderick 2025-04-01 11:08:45 +01:00
parent 7c12a686bc
commit 0952ac9743

View File

@ -63,13 +63,15 @@ test:
#: format - Run the PEP8 formatter.
.PHONY: format
format:
ruff format helpdesk
ruff check --fix # Fix linting eerrors
ruff format # fix formatting errors
#: checkformat - checks formatting against configured format specifications for the project.
.PHONY: checkformat
checkformat:
ruff check helpdesk
ruff check # linting check
ruff format --check # format check
#: documentation - Build documentation (Sphinx, README, ...).