Skip to content

Commit 7bf224c

Browse files
Run formatter!
1 parent da815a8 commit 7bf224c

File tree

205 files changed

+6248
-5916
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

205 files changed

+6248
-5916
lines changed

.github/workflows/basic_checks.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,11 @@ jobs:
9292
uses: actions/checkout@v5
9393
with:
9494
fetch-depth: 0
95+
96+
- name: Install Formatters
97+
run: |
98+
sudo apt-get update -y
99+
sudo apt-get install astyle aspell
95100
96101
- name: UTF-8 Check
97102
run: |
@@ -185,29 +190,25 @@ jobs:
185190
186191
- name: Python Tests
187192
run: |
188-
source venv/bin/activate
189193
tools/run_python_tests.sh
190194
191195
check-cmsis-mcu-descriptions-matches-target-list:
192196
runs-on: ubuntu-latest
193197
steps:
194198
- name: Checkout repo
195-
uses: actions/checkout@v4
199+
uses: actions/checkout@v5
196200

197-
- name: Install python3-venv
198-
run: |
199-
sudo apt-get update
200-
sudo apt-get install -y python3-venv
201+
# Set up the oldest python version that's currently still supported by Python (as of Fall 2025)
202+
- uses: actions/setup-python@v6
203+
with:
204+
python-version: '3.9'
201205

202206
- name: Install Python packages
203207
run: |
204-
python3 -m venv venv
205-
source venv/bin/activate
206208
pip install -e ./tools
207209
208210
- name: Verify that cmsis_mcu_descriptions.json5 is in sync with targets.json5
209211
run: |
210-
source venv/bin/activate
211212
cd tools/python
212213
mbed-tools cmsis-mcu-descr find-unused
213214
mbed-tools cmsis-mcu-descr check-missing
@@ -220,7 +221,7 @@ jobs:
220221
steps:
221222
-
222223
name: Checkout repo
223-
uses: actions/checkout@v4
224+
uses: actions/checkout@v5
224225
with:
225226
fetch-depth: 0
226227

tools/python/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#
22
# Copyright (c) 2020-2023 Arm Limited and Contributors. All rights reserved.
33
# SPDX-License-Identifier: Apache-2.0
4-
#
4+
#

tools/python/ambiq_svl/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
SparkFun Variable Loader
33
Variable baud rate bootloader for Artemis Apollo3 modules
44
SPDX-License-Identifier: MIT
5-
"""
5+
"""

0 commit comments

Comments
 (0)