From c1defc7db128df23a05bdd5d85e16ae958590331 Mon Sep 17 00:00:00 2001 From: MinchinWeb Date: Sat, 7 Dec 2019 12:45:28 -0700 Subject: [PATCH] [Travis] add a linting stage (via `black`) --- .travis.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 17251ba9..6454b1ab 100644 --- a/.travis.yml +++ b/.travis.yml @@ -53,8 +53,17 @@ jobs: - os: windows include: + - stage: Lint + name: Lint, via Black + python: 3.8 + install: + - pip install black + script: + - black . + # Python 3.6 Tests - - name: Python 3.6 on Linux + - stage: Tests + name: Python 3.6 on Linux python: 3.6 - <<: *test_mac name: Python 3.6 on MacOS