Skip to content

Commit 15e4260

Browse files
committed
Run flake8 in CI
1 parent 4f3c4a0 commit 15e4260

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/Test.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,17 @@ jobs:
3838
- name: Install dependencies
3939
run: |
4040
python -m pip install --upgrade pip
41-
pip install . pytest pytest-md pytest-emoji
41+
pip install . pytest pytest-md pytest-emoji flake8
4242
4343
- name: Set timezone
4444
uses: szenius/set-timezone@v2.0
4545
with:
4646
timezoneLinux: 'Europe/Berlin'
4747

48+
- name: Lint with flake8
49+
run: |
50+
flake8 . --count --statistics
51+
4852
- name: Run pytest
4953
uses: pavelzw/pytest-action@v2
5054
with:

0 commit comments

Comments
 (0)