From c15d6567267da1c5eaa9e3114fe1b6e0993bb110 Mon Sep 17 00:00:00 2001 From: Nicola Soranzo Date: Sun, 17 Nov 2019 19:45:59 +0000 Subject: [PATCH] Add a CircleCI job for flake8 --- .circleci/config.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3d2d09a1..4914ed1a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,6 +1,19 @@ version: 2 jobs: + flake8: + docker: + - image: circleci/python:3.6 + steps: + - checkout + + - run: + name: Install flake8 + command: sudo python -m pip install flake8 + - run: + name: Test. + command: flake8 --exclude=.git,.venv,site . + osx-python3.6: macos: xcode: "9.4.1" @@ -51,6 +64,7 @@ workflows: version: 2 all-tests: jobs: + - flake8 - osx-python3.6 - osx-python3.7 - linux-python3.6