From e7f0cb7d1b133f7ce154eed7f812e4a78a9a44a7 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Fri, 22 Nov 2019 15:12:14 +0100 Subject: [PATCH] Add "black --check . || true" on Python 3 --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index fa905f6a1..eb79050e8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -44,7 +44,8 @@ jobs: - stage: lint python: 3.8 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 - stage: build name: Build