Skip to content

Commit 4480bb8

Browse files
committed
Use flake8 directly instead of through pytest-flake8
pytest-flake8 is failing due to tholo/pytest-flake8#88.
1 parent 0cafa95 commit 4480bb8

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/build-and-test.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,15 @@ jobs:
2323
python-version: ${{ matrix.python-version }}
2424
- name: Install dependencies
2525
run: |
26-
pip install pytest-flake8 pytest-cov
26+
pip install flake8 pytest-cov
27+
- name: Lint
28+
run: |
29+
flake8 .
2730
- name: Build
2831
run: |
2932
pip install -e .
3033
- name: Test
3134
run: |
32-
pytest --flake8 --cov --cov-report=xml
35+
pytest --cov --cov-report=xml
3336
- name: Upload coverage to codecov
3437
uses: codecov/codecov-action@v3

0 commit comments

Comments
 (0)