File tree 2 files changed +25
-6
lines changed
2 files changed +25
-6
lines changed Original file line number Diff line number Diff line change
1
+ name : Check format:
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+ pull_request :
8
+ branches :
9
+ - master
10
+
11
+ jobs :
12
+ peripheral :
13
+ runs-on : ubuntu-20.04
14
+ steps :
15
+ - name : Checkout Code
16
+ uses : actions/checkout@v2
17
+ - name : pip install formatters
18
+ run : |
19
+ pip3 install flake8 isort
20
+ - name : check by isort and flake8
21
+ run : |
22
+ python3 -m isort example/ test/ node_script/ src/
23
+ python3 -m flake8 example/ test/ node_script/ src/
Original file line number Diff line number Diff line change 1
- name : Peripheral test
1
+ name : Check mypy
2
2
3
3
on :
4
4
push :
14
14
steps :
15
15
- name : Checkout Code
16
16
uses : actions/checkout@v2
17
- - name : pip install formatters and mypy
17
+ - name : pip install mypy
18
18
run : |
19
19
pip3 install mypy flake8 isort
20
20
- name : check by mypy
24
24
pip3 install numpy==1.23 # to enable numpy's type checking
25
25
mypy --version
26
26
mypy .
27
- - name : check by isort and flake8
28
- run : |
29
- python3 -m isort example/ test/ node_script/
30
- python3 -m flake8 example/ test/ node_script/
You can’t perform that action at this time.
0 commit comments