Skip to content

Commit c88fee6

Browse files
authored
Add linting workflow
1 parent c092b63 commit c88fee6

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

.github/workflows/lint.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Python Lint
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
lint:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v3
10+
11+
- name: Set up Python
12+
uses: actions/setup-python@v4
13+
with:
14+
python-version: '3.10'
15+
16+
- name: Install flake8
17+
run: pip install flake8
18+
19+
- name: Run flake8
20+
run: flake8 .

0 commit comments

Comments
 (0)