We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 003ef93 commit 0b5530dCopy full SHA for 0b5530d
.github/workflows/ci.yml
@@ -29,10 +29,15 @@ jobs:
29
python-version: ${{ matrix.python-version }}
30
31
- name: Install dependencies
32
- run: pip install -U tox-travis
33
-
34
- - name: Run tests
35
- run: tox
+ run:
+ python -m pip install --upgrade pip
+ pip install flake8
+ - name: Lint with flake8
36
37
+ # stop the build if there are Python syntax errors or undefined names
38
+ flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
39
+ # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
40
+ flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
41
42
deploy:
43
runs-on: ubuntu-latest
0 commit comments