We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1857939 commit 98faa34Copy full SHA for 98faa34
.github/workflows/lint.yml
@@ -0,0 +1,14 @@
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: pip install --upgrade flake8 isort
13
+ - run: flake8 .
14
+ - run: isort .
0 commit comments