From 5b203c8e3c17f1d8b2eb78062842f1ffd3f8a080 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Tue, 26 Nov 2019 06:54:23 +0100 Subject: [PATCH] CircleCI: Add more flake8 tests --- .circleci/config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d94d8e65..8e96bb5b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,9 +2,9 @@ version: 2.0 build_and_test: &build_and_test_steps - checkout - - run: sudo pip install -r requirements.txt + - run: sudo pip install --upgrade pip + - run: sudo pip install pytest -r requirements.txt - run: pip install --user . - - run: sudo pip install pytest - run: python --version ; pip --version ; pwd ; ls -l - run: pytest @@ -18,7 +18,7 @@ jobs: - run: sudo pip install flake8 black - run: python --version ; pip --version ; pwd ; ls -l # stop the build if there are Python syntax errors or undefined names - - run: flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics + - run: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide - run: flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - run: black . --check