diff --git a/.github/workflows/lint-format.yml b/.github/workflows/lint-format.yml index ac24ea5a1d..e703957049 100644 --- a/.github/workflows/lint-format.yml +++ b/.github/workflows/lint-format.yml @@ -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 diff --git a/photon-targeting/src/main/native/cpp/photon/constrained_solvepnp/wrap/casadi_wrapper.cpp b/photon-targeting/src/main/native/cpp/photon/constrained_solvepnp/wrap/casadi_wrapper.cpp index f09b307edd..44b1acd30f 100644 --- a/photon-targeting/src/main/native/cpp/photon/constrained_solvepnp/wrap/casadi_wrapper.cpp +++ b/photon-targeting/src/main/native/cpp/photon/constrained_solvepnp/wrap/casadi_wrapper.cpp @@ -66,12 +66,10 @@ struct Problem { }; static std::optional 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); diff --git a/photonlib-python-examples/aimandrange/tests/pyfrc_test.py b/photonlib-python-examples/aimandrange/tests/pyfrc_test.py index 235b61fa34..9c6bd86778 100644 --- a/photonlib-python-examples/aimandrange/tests/pyfrc_test.py +++ b/photonlib-python-examples/aimandrange/tests/pyfrc_test.py @@ -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. """ diff --git a/photonlib-python-examples/aimattarget/tests/pyfrc_test.py b/photonlib-python-examples/aimattarget/tests/pyfrc_test.py index 235b61fa34..9c6bd86778 100644 --- a/photonlib-python-examples/aimattarget/tests/pyfrc_test.py +++ b/photonlib-python-examples/aimattarget/tests/pyfrc_test.py @@ -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. """ diff --git a/photonlib-python-examples/poseest/tests/pyfrc_test.py b/photonlib-python-examples/poseest/tests/pyfrc_test.py index 235b61fa34..9c6bd86778 100644 --- a/photonlib-python-examples/poseest/tests/pyfrc_test.py +++ b/photonlib-python-examples/poseest/tests/pyfrc_test.py @@ -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. """