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 c5eeebe commit b888977Copy full SHA for b888977
.github/workflows/build_test.yaml
@@ -76,10 +76,25 @@ jobs:
76
sudo apt-get install -y clang-format-18
77
- name: Check out QEMU
78
uses: actions/checkout@v4
79
- - name: Check execution
+ - name: Check C code format
80
run: |
81
scripts/opentitan/ot-format.sh --ci -i
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
+ pip3 install pylint -U --break-system-packages
91
+ - name: Check out QEMU
92
+ uses: actions/checkout@v4
93
+ - name: Lint Python code
94
95
+ pylint --rcfile scripts/opentitan/.pylintrc -d 'duplicate-code' -d 'fixme' \
96
+ scripts/opentitan/*.py python/qemu/jtag/* python/qemu/ot/*
97
+
98
lint-clang:
99
runs-on: ubuntu-latest
100
needs: build-clang
0 commit comments