From 5f3b097171b177fc02483aa5396453df73bbeb7e Mon Sep 17 00:00:00 2001 From: George Hickman Date: Thu, 18 Jul 2019 12:10:53 +0100 Subject: [PATCH] Run isort in CI --- .circleci/config.yml | 1 + .travis.yml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index ebc0e127..26524bd3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -75,6 +75,7 @@ jobs: command: | . venv/bin/activate flake8 ./hypha + make sort python manage.py collectstatic --noinput --verbosity=0 python manage.py check python manage.py makemigrations --check --noinput --verbosity=1 diff --git a/.travis.yml b/.travis.yml index bb0b49d2..fe289ec1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -50,6 +50,9 @@ script: # Run python code style checks - flake8 ./hypha + # Check import sort order of Python files + - make sort + # Collect static - python manage.py collectstatic --noinput --verbosity=0