mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-06-06 09:46:51 +02:00
migrate makefile from flake8 and autopep8 to ruff
This commit is contained in:
parent
f5c679f6df
commit
f1f3cad2f2
6
Makefile
6
Makefile
@ -63,15 +63,13 @@ test:
|
|||||||
#: format - Run the PEP8 formatter.
|
#: format - Run the PEP8 formatter.
|
||||||
.PHONY: format
|
.PHONY: format
|
||||||
format:
|
format:
|
||||||
autopep8 --exit-code --global-config .flake8 helpdesk
|
ruff format helpdesk
|
||||||
isort --line-length=120 --src helpdesk .
|
|
||||||
|
|
||||||
|
|
||||||
#: checkformat - checks formatting against configured format specifications for the project.
|
#: checkformat - checks formatting against configured format specifications for the project.
|
||||||
.PHONY: checkformat
|
.PHONY: checkformat
|
||||||
checkformat:
|
checkformat:
|
||||||
flake8 helpdesk --count --show-source --statistics --exit-zero --max-complexity=20
|
ruff check helpdesk
|
||||||
isort --line-length=120 --src helpdesk . --check
|
|
||||||
|
|
||||||
|
|
||||||
#: documentation - Build documentation (Sphinx, README, ...).
|
#: documentation - Build documentation (Sphinx, README, ...).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user