Skip to content

Commit 434238a

Browse files
committed
ci: Add lint workflow
1 parent 062ccc3 commit 434238a

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/lint.yml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Lint
2+
on: [push, pull_request]
3+
jobs:
4+
build:
5+
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v4
9+
- uses: actions/setup-python@v5
10+
with:
11+
python-version: '3.10'
12+
- run: flake8 .
13+
- run: isort .

0 commit comments

Comments
 (0)