We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09e08ee commit 8f1dd09Copy full SHA for 8f1dd09
.github/workflows/lint.yaml
@@ -0,0 +1,33 @@
1
+name: Lint (type checking, security, code quality, ruff)
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - "henryh/add-linting-workflow"
7
+ pull_request:
8
9
+ - "master"
10
11
+concurrency:
12
+ group: ${{ github.workflow }}-${{ github.ref }}
13
+ cancel-in-progress: true
14
15
+jobs:
16
+ linting:
17
+ runs-on: ubuntu-latest
18
19
+ steps:
20
+ - uses: actions/checkout@v4
21
+ with:
22
+ lfs: false
23
24
+ - name: Set up Python 3.10
25
+ uses: actions/setup-python@v4
26
27
+ python-version: 3.10.10
28
+ pip-version: 24
29
30
+ - name: Linting
31
+ run: |
32
+ pip install pre-commit interrogate
33
+ pre-commit run --all-files
0 commit comments