Skip to content

Commit 1fd0b6a

Browse files
authored
Merge pull request #105 from cclauss/patch-1
CircleCI: Add more flake8 tests
2 parents 8a3e9aa + 467d468 commit 1fd0b6a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.circleci/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ version: 2.0
22

33
build_and_test: &build_and_test_steps
44
- checkout
5-
- run: sudo pip install -r requirements.txt
5+
- run: sudo pip install --upgrade pip
6+
- run: sudo pip install pytest -r requirements.txt
67
- run: pip install --user .
7-
- run: sudo pip install pytest
88
- run: python --version ; pip --version ; pwd ; ls -l
99
- run: pytest
1010

@@ -18,7 +18,7 @@ jobs:
1818
- run: sudo pip install flake8 black
1919
- run: python --version ; pip --version ; pwd ; ls -l
2020
# stop the build if there are Python syntax errors or undefined names
21-
- run: flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
21+
- run: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
2222
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
2323
- run: flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
2424
- run: black . --check

0 commit comments

Comments
 (0)