Skip to content

Commit 27a1cfc

Browse files
authored
Bump wpiformat to 2025.34 (#2066)
1 parent c7f5edc commit 27a1cfc

File tree

5 files changed

+11
-13
lines changed

5 files changed

+11
-13
lines changed

.github/workflows/lint-format.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
with:
3232
python-version: 3.11
3333
- name: Install wpiformat
34-
run: pip3 install wpiformat==2025.33
34+
run: pip3 install wpiformat==2025.34
3535
- name: Run
3636
run: wpiformat
3737
- name: Check output

photon-targeting/src/main/native/cpp/photon/constrained_solvepnp/wrap/casadi_wrapper.cpp

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,10 @@ struct Problem {
6666
};
6767

6868
static std::optional<Problem> createProblem(int numTags, bool heading_free) {
69-
#define MAKE_P(tags, suffix) \
70-
Problem { \
71-
tags, heading_free, calc_J_##tags##_tags_heading_##suffix, \
72-
calc_gradJ_##tags##_tags_heading_##suffix, \
73-
calc_hessJ_##tags##_tags_heading_##suffix \
74-
}
69+
#define MAKE_P(tags, suffix) \
70+
Problem{tags, heading_free, calc_J_##tags##_tags_heading_##suffix, \
71+
calc_gradJ_##tags##_tags_heading_##suffix, \
72+
calc_hessJ_##tags##_tags_heading_##suffix}
7573
#define MAKE_CASE(n) \
7674
case n: \
7775
return heading_free ? MAKE_P(n, free) : MAKE_P(n, fixed);
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
"""
2-
This test module imports tests that come with pyfrc, and can be used
3-
to test basic functionality of just about any robot.
2+
This test module imports tests that come with pyfrc, and can be used
3+
to test basic functionality of just about any robot.
44
"""
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
"""
2-
This test module imports tests that come with pyfrc, and can be used
3-
to test basic functionality of just about any robot.
2+
This test module imports tests that come with pyfrc, and can be used
3+
to test basic functionality of just about any robot.
44
"""
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
"""
2-
This test module imports tests that come with pyfrc, and can be used
3-
to test basic functionality of just about any robot.
2+
This test module imports tests that come with pyfrc, and can be used
3+
to test basic functionality of just about any robot.
44
"""

0 commit comments

Comments
 (0)