File tree 2 files changed +33
-0
lines changed 2 files changed +33
-0
lines changed Original file line number Diff line number Diff line change 14
14
15
15
- name : Checkout
16
16
uses : actions/checkout@v2
17
+ with :
18
+ submodules : recursive
17
19
18
20
- name : Setup Python 3.7
19
21
uses : actions/setup-python@v2
Original file line number Diff line number Diff line change
1
+ name : black-format-check
2
+
3
+ on : [push, pull_request, workflow_dispatch]
4
+
5
+ env :
6
+ # If STRICT is set to true, it will fail on black check fail
7
+ STRICT : false
8
+
9
+ jobs :
10
+
11
+ black-format-check :
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+
15
+ - name : Checkout
16
+ uses : actions/checkout@v2
17
+ with :
18
+ submodules : recursive
19
+
20
+ - name : Setup Python 3.7
21
+ uses : actions/setup-python@v2
22
+ with :
23
+ python-version : " 3.7"
24
+
25
+ - name : Install black
26
+ run : |
27
+ pip install isort
28
+
29
+ - name : Run isort Check
30
+ run : |
31
+ isort --check-only autosklearn || ! $STRICT
You can’t perform that action at this time.
0 commit comments