Skip to content

Commit c237dc9

Browse files
authored
Upgrade to clang-format and clang-tidy 18.1.1 (#263)
Python 3.11 and 3.12 were added to CI, and Python 3.8 was dropped from CI because we have a limited amount of macOS runners. wpiformat can still run on Python 3.8 though.
1 parent cdfd9eb commit c237dc9

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,12 @@ jobs:
88
fail-fast: false
99
matrix:
1010
os: [macos-11, windows-2022, ubuntu-22.04]
11-
python-version: ['3.8', '3.9', '3.10']
11+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
12+
exclude:
13+
- os: macos-11
14+
python-version: '3.8'
15+
- os: macos-11
16+
python-version: '3.9'
1217
name: Test - ${{ matrix.os }}, ${{ matrix.python-version }}
1318
runs-on: ${{ matrix.os }}
1419
steps:

wpiformat/pyproject.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ description = "Linters and formatters for ensuring WPILib's source code conforms
44
dynamic = [ "version" ]
55
readme = "README.rst"
66
dependencies = [
7-
"regex==2023.10.3",
87
"black==24.2.0",
9-
"clang-format==17.0.5",
10-
"clang-tidy==17.0.1",
11-
"gersemi==0.11.0"
8+
"clang-format==18.1.1",
9+
"clang-tidy==18.1.1",
10+
"gersemi==0.11.0",
11+
"regex==2023.10.3"
1212
]
1313
classifiers = [
1414
"Development Status :: 5 - Production/Stable",
@@ -35,9 +35,9 @@ wpiformat = "wpiformat:main"
3535

3636
[build-system]
3737
requires = [
38-
"clang-format==16.0.4",
39-
"clang-tidy==15.0.2.1",
40-
"regex==2022.9.13",
38+
"clang-format==18.1.1",
39+
"clang-tidy==18.1.1",
40+
"regex==2023.10.3",
4141
"setuptools>=61.0",
4242
"setuptools-git-versioning"
4343
]

0 commit comments

Comments
 (0)