migrate makefile from flake8 and autopep8 to ruff

This commit is contained in:
DavidVadnais 2025-03-22 15:28:43 -10:00
parent f5c679f6df
commit f1f3cad2f2

View File

@ -63,15 +63,13 @@ test:
#: format - Run the PEP8 formatter.
.PHONY: format
format:
autopep8 --exit-code --global-config .flake8 helpdesk
isort --line-length=120 --src helpdesk .
ruff format helpdesk
#: checkformat - checks formatting against configured format specifications for the project.
.PHONY: checkformat
checkformat:
flake8 helpdesk --count --show-source --statistics --exit-zero --max-complexity=20
isort --line-length=120 --src helpdesk . --check
ruff check helpdesk
#: documentation - Build documentation (Sphinx, README, ...).