Run isort as part of 'make lint'

pull/2782/head
Matt Westcott 2016-06-22 16:18:23 +01:00 zatwierdzone przez Karl Hobley
rodzic ee9f105810
commit f2ec21b947
3 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -8,7 +8,7 @@ pipeline:
image: python:3.5
commands:
- XDG_CACHE_HOME=/drone/pip-cache pip install wheel
- XDG_CACHE_HOME=/drone/pip-cache pip install isort -e .[testing,docs]
- XDG_CACHE_HOME=/drone/pip-cache pip install -e .[testing,docs]
- isort --check-only --diff --recursive wagtail
js:
image: node:4.2.4

Wyświetl plik

@ -17,6 +17,7 @@ develop: clean-pyc
lint:
flake8 wagtail
isort --check-only --diff --recursive wagtail
test:
python runtests.py

Wyświetl plik

@ -46,6 +46,7 @@ testing_extras = [
# For coverage and PEP8 linting
'coverage>=3.7.0',
'flake8>=2.2.0',
'isort>=4.2.0',
]
# Documentation dependencies