Add "black --check . || true" on Python 3

This commit is contained in:
Christian Clauss 2019-11-22 15:12:14 +01:00 committed by GitHub
parent 8196bcec8a
commit e7f0cb7d1b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,7 +44,8 @@ jobs:
- stage: lint - stage: lint
python: 3.8 python: 3.8
script: script:
- pip install flake8 - pip install black flake8
- black --check . || true # TODO: (cclauss) Remove "|| true" when ready
- flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics - flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
- stage: build - stage: build
name: Build name: Build