mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2024-12-04 22:11:06 +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
|
.PHONY: format
|
||||||
format:
|
format:
|
||||||
autopep8 --exit-code --global-config .flake8 helpdesk
|
autopep8 --exit-code --global-config .flake8 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
|
flake8 helpdesk --count --show-source --statistics --exit-zero --max-complexity=20
|
||||||
|
isort --line-length=120 --src helpdesk . --check
|
||||||
|
|
||||||
|
|
||||||
#: documentation - Build documentation (Sphinx, README, ...).
|
#: documentation - Build documentation (Sphinx, README, ...).
|
||||||
|
Loading…
Reference in New Issue
Block a user