mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2024-12-04 05:54:04 +01:00
Add import sort checking and fixing to makefile
This commit is contained in:
parent
9e3a3abcf1
commit
f134d64349
2
Makefile
2
Makefile
@ -64,12 +64,14 @@ test:
|
||||
.PHONY: format
|
||||
format:
|
||||
autopep8 --exit-code --global-config .flake8 helpdesk
|
||||
isort --line-length=120 --src 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
|
||||
|
||||
|
||||
#: documentation - Build documentation (Sphinx, README, ...).
|
||||
|
Loading…
Reference in New Issue
Block a user