run black over stubs, add checking to travis

This commit is contained in:
Maxim Kurnikov
2018-12-03 18:52:44 +03:00
parent d5bc7d4ab2
commit cf6119bf9b
420 changed files with 2295 additions and 8384 deletions
+4
View File
@@ -12,6 +12,10 @@ jobs:
script: |
set -e
pytest
- name: "Lint with black"
python: 3.7
script: |
black --check --line-length=130 django-stubs/ django-stubs-generated/
before_install: |
# Upgrade pip, setuptools, and wheel