Skip to content
Snippets Groups Projects
Unverified Commit a929b70a authored by George Hickman's avatar George Hickman
Browse files

Run isort in CI

parent 9f8d25c5
No related branches found
No related tags found
No related merge requests found
...@@ -75,6 +75,7 @@ jobs: ...@@ -75,6 +75,7 @@ jobs:
command: | command: |
. venv/bin/activate . venv/bin/activate
flake8 ./opentech flake8 ./opentech
make sort
python manage.py collectstatic --noinput --verbosity=0 python manage.py collectstatic --noinput --verbosity=0
python manage.py check python manage.py check
python manage.py makemigrations --check --noinput --verbosity=1 python manage.py makemigrations --check --noinput --verbosity=1
......
...@@ -50,6 +50,9 @@ script: ...@@ -50,6 +50,9 @@ script:
# Run python code style checks # Run python code style checks
- flake8 ./opentech - flake8 ./opentech
# Check import sort order of Python files
- make sort
# Collect static # Collect static
- python manage.py collectstatic --noinput --verbosity=0 - python manage.py collectstatic --noinput --verbosity=0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment