run black over stubs, add checking to travis

This commit is contained in:
Maxim Kurnikov committed 2018-12-03 18:52:44 +03:00
1 parent d5bc7d4ab2
commit cf6119bf9b
420 files changed
+2295 -8384

No files matched your search

+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