Skip to content

Commit 3611a9e

Browse files
committed
[actions] Make flake8 tests via tox
1 parent 23d35a6 commit 3611a9e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/push.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,10 @@ jobs:
1515
with:
1616
python-version: 3.7
1717
- name: Run flake8
18-
# we use exactly the same exceptions than tox.ini file
1918
run: |
2019
python -m pip install --upgrade pip
21-
pip install -U flake8
22-
flake8 --ignore=E123,E124,E126,E226,E402,E501,W503,W504 pythonforandroid/ tests/ ci/
20+
pip install tox>=2.0
21+
tox -e pep8
2322
2423
linting:
2524
name: Pytest [Python ${{ matrix.python-version }} | ${{ matrix.os }}]

0 commit comments

Comments
 (0)