mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-19 00:41:41 +00:00
Bump wpiformat to 2025.34 (#2066)
This commit is contained in:
2
.github/workflows/lint-format.yml
vendored
2
.github/workflows/lint-format.yml
vendored
@@ -31,7 +31,7 @@ jobs:
|
||||
with:
|
||||
python-version: 3.11
|
||||
- name: Install wpiformat
|
||||
run: pip3 install wpiformat==2025.33
|
||||
run: pip3 install wpiformat==2025.34
|
||||
- name: Run
|
||||
run: wpiformat
|
||||
- name: Check output
|
||||
|
||||
@@ -66,12 +66,10 @@ struct Problem {
|
||||
};
|
||||
|
||||
static std::optional<Problem> createProblem(int numTags, bool heading_free) {
|
||||
#define MAKE_P(tags, suffix) \
|
||||
Problem { \
|
||||
tags, heading_free, calc_J_##tags##_tags_heading_##suffix, \
|
||||
calc_gradJ_##tags##_tags_heading_##suffix, \
|
||||
calc_hessJ_##tags##_tags_heading_##suffix \
|
||||
}
|
||||
#define MAKE_P(tags, suffix) \
|
||||
Problem{tags, heading_free, calc_J_##tags##_tags_heading_##suffix, \
|
||||
calc_gradJ_##tags##_tags_heading_##suffix, \
|
||||
calc_hessJ_##tags##_tags_heading_##suffix}
|
||||
#define MAKE_CASE(n) \
|
||||
case n: \
|
||||
return heading_free ? MAKE_P(n, free) : MAKE_P(n, fixed);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
"""
|
||||
This test module imports tests that come with pyfrc, and can be used
|
||||
to test basic functionality of just about any robot.
|
||||
This test module imports tests that come with pyfrc, and can be used
|
||||
to test basic functionality of just about any robot.
|
||||
"""
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
"""
|
||||
This test module imports tests that come with pyfrc, and can be used
|
||||
to test basic functionality of just about any robot.
|
||||
This test module imports tests that come with pyfrc, and can be used
|
||||
to test basic functionality of just about any robot.
|
||||
"""
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
"""
|
||||
This test module imports tests that come with pyfrc, and can be used
|
||||
to test basic functionality of just about any robot.
|
||||
This test module imports tests that come with pyfrc, and can be used
|
||||
to test basic functionality of just about any robot.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user