Skip to content

Commit

Permalink
Merge pull request #105 from cclauss/patch-1
Browse files Browse the repository at this point in the history
CircleCI: Add more flake8 tests
  • Loading branch information
StoicLoofah authored Dec 8, 2019
2 parents 8a3e9aa + 467d468 commit 1fd0b6a
Showing 1 changed file with 3 additions and 3 deletions.
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

0 comments on commit 1fd0b6a

Please sign in to comment.