Skip to content

Commit

Permalink
Upgrade to clang-format and clang-tidy 18.1.1 (#263)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
calcmogul authored Mar 18, 2024
1 parent cdfd9eb commit c237dc9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@ jobs:
fail-fast: false
matrix:
os: [macos-11, windows-2022, ubuntu-22.04]
python-version: ['3.8', '3.9', '3.10']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
exclude:
- os: macos-11
python-version: '3.8'
- os: macos-11
python-version: '3.9'
name: Test - ${{ matrix.os }}, ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
steps:
Expand Down
14 changes: 7 additions & 7 deletions wpiformat/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ description = "Linters and formatters for ensuring WPILib's source code conforms
dynamic = [ "version" ]
readme = "README.rst"
dependencies = [
"regex==2023.10.3",
"black==24.2.0",
"clang-format==17.0.5",
"clang-tidy==17.0.1",
"gersemi==0.11.0"
"clang-format==18.1.1",
"clang-tidy==18.1.1",
"gersemi==0.11.0",
"regex==2023.10.3"
]
classifiers = [
"Development Status :: 5 - Production/Stable",
Expand All @@ -35,9 +35,9 @@ wpiformat = "wpiformat:main"

[build-system]
requires = [
"clang-format==16.0.4",
"clang-tidy==15.0.2.1",
"regex==2022.9.13",
"clang-format==18.1.1",
"clang-tidy==18.1.1",
"regex==2023.10.3",
"setuptools>=61.0",
"setuptools-git-versioning"
]
Expand Down

0 comments on commit c237dc9

Please sign in to comment.