mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-08-14 10:08:28 +02:00
Make "checkformat" and "format" do both linting and formatting
This commit is contained in:
6
Makefile
6
Makefile
@ -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, ...).
|
||||
|
Reference in New Issue
Block a user