We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d14bcdf commit 12b9b06Copy full SHA for 12b9b06
.github/workflows/lint.yml
@@ -0,0 +1,24 @@
1
+name: lint
2
+on: [push, pull_request]
3
+
4
+jobs:
5
+ lint:
6
+ runs-on: ubuntu-latest
7
+ steps:
8
+ - name: Checkout repository
9
+ uses: actions/checkout@v4
10
11
+ - name: Use Python
12
+ uses: actions/setup-python@v5
13
+ with:
14
+ cache: pip
15
+ python-version: 3
16
17
+ - name: Install dependencies
18
+ run: pip install -e .[test]
19
20
+ - name: Run Black
21
+ run: black --check .
22
23
+ - name: Run pre-commit
24
+ run: pre-commit run --all-files
0 commit comments