File tree 1 file changed +17
-1
lines changed
1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -76,10 +76,26 @@ jobs:
76
76
sudo apt-get install -y clang-format-18
77
77
- name : Check out QEMU
78
78
uses : actions/checkout@v4
79
- - name : Check execution
79
+ - name : Check C code format
80
80
run : |
81
81
scripts/opentitan/ot-format.sh --ci -i
82
82
83
+ lint-python :
84
+ runs-on : ubuntu-latest
85
+ steps :
86
+ - name : Install tools
87
+ run : |
88
+ sudo apt-get update &&
89
+ sudo apt-get install -y python3-pip
90
+ # ubuntu "latest" is too old to require --break-system-packages ...
91
+ pip3 install pylint
92
+ - name : Check out QEMU
93
+ uses : actions/checkout@v4
94
+ - name : Lint Python code
95
+ run : |
96
+ pylint --rcfile scripts/opentitan/.pylintrc -d 'duplicate-code' -d 'fixme' \
97
+ scripts/opentitan/*.py python/qemu/jtag/* python/qemu/ot/*
98
+
83
99
lint-clang :
84
100
runs-on : ubuntu-latest
85
101
needs : build-clang
You can’t perform that action at this time.
0 commit comments