Skip to content

Commit 4fff942

Browse files
committed
Add CI workflow - flake8 lint on push
1 parent 51cb37d commit 4fff942

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: CI
2+
3+
on: [push]
4+
5+
jobs:
6+
lint:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v3
10+
- uses: actions/setup-python@v4
11+
with:
12+
python-version: '3.10'
13+
- run: pip install flake8
14+
- run: flake8 . --count --max-line-length=120 --statistics --ignore=E501,W503,E302,W291

0 commit comments

Comments
 (0)