Ignore migrations in linting

This commit is contained in:
Eliot Berriot 2018-06-19 20:31:01 +02:00
parent 8636b456a8
commit 7707636150
No known key found for this signature in database
GPG Key ID: DD6965E2476E5C27
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ black:
before_script: before_script:
- pip install black - pip install black
script: script:
- black --check --diff api/ - black --exclude "/(\.git|\.hg|\.mypy_cache|\.tox|\.venv|_build|buck-out|build|dist|migrations)/" --check --diff api/
flake8: flake8:
image: python:3.6 image: python:3.6