Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
CircleCI: Add more flake8 tests
  • Loading branch information
cclauss authored Nov 26, 2019
commit 5b203c8e3c17f1d8b2eb78062842f1ffd3f8a080
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down