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 9151d5b commit a784433Copy full SHA for a784433
.github/workflows/static_analysis.yml
@@ -0,0 +1,42 @@
1
+name: Static analysis
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - master
7
+ - devel
8
+ pull_request:
9
10
11
12
13
+defaults:
14
+ run:
15
+ shell: bash
16
17
+jobs:
18
19
+ black:
20
+ runs-on: ubuntu-latest
21
+ continue-on-error: true
22
+ steps:
23
+ - name: Checkout the code
24
+ uses: actions/checkout@v4
25
26
+ - name: Code formatting with black
27
+ run: |
28
+ pip install black "black[jupyter]"
29
+ black --check .
30
31
+ isort:
32
33
34
35
36
37
38
+ - name: Code formatting with isort
39
40
+ pip install isort
41
+ isort --check .
42
0 commit comments