diff --git a/photon-core/src/main/java/org/photonvision/common/configuration/PathManager.java b/photon-core/src/main/java/org/photonvision/common/configuration/PathManager.java index da2f65f580..9c6334f67a 100644 --- a/photon-core/src/main/java/org/photonvision/common/configuration/PathManager.java +++ b/photon-core/src/main/java/org/photonvision/common/configuration/PathManager.java @@ -26,7 +26,6 @@ import java.time.format.DateTimeFormatter; import java.time.temporal.TemporalAccessor; import java.util.Date; - import org.photonvision.common.logging.LogGroup; import org.photonvision.common.logging.Logger; @@ -40,6 +39,7 @@ public class PathManager { /** * Change the root config folder. Must happen before ConfigManager's singleton loads. + * * @param rootFolder */ public static void setRootFolder(Path rootFolder) { diff --git a/scripts/test/.gitignore b/scripts/test/.gitignore index 12f35d6f4a..bbf9647ee2 100644 --- a/scripts/test/.gitignore +++ b/scripts/test/.gitignore @@ -1,4 +1,4 @@ .pytest_cache test-resources networktables.json -*.sqlite \ No newline at end of file +*.sqlite diff --git a/scripts/test/photonvision_wrapper.py b/scripts/test/photonvision_wrapper.py index 781531b08b..807ce06804 100644 --- a/scripts/test/photonvision_wrapper.py +++ b/scripts/test/photonvision_wrapper.py @@ -9,6 +9,7 @@ from distutils.dir_util import copy_tree + @contextlib.contextmanager def test_resources_wrapper(): print("Copying test-resources folder over (ew ew ew)") @@ -20,10 +21,6 @@ def test_resources_wrapper(): print("Not deleting files (too lazy to implement cleaning these up)") - - - - @contextlib.contextmanager def photonvision_wrapper( jar_path: Union[str, os.PathLike], diff --git a/scripts/test/test_photonlibcpp.py b/scripts/test/test_photonlibcpp.py index 994cbf31b0..cfdd717bee 100644 --- a/scripts/test/test_photonlibcpp.py +++ b/scripts/test/test_photonlibcpp.py @@ -16,11 +16,17 @@ def test_photonlibpy(): golden_config_sqlite=os.path.abspath("photon_nt_servermode.sqlite"), # java_exe="C:\\Users\\Public\\wpilib\\2024\\jdk\\bin\\java.exe", ), test_resources_wrapper(): - # assumes we have already installed the test binary via gradle via + # assumes we have already installed the test binary via gradle via # checkPhotonlibIntegrationTestWindowsx86-64DebugGoogleTestExe ret = subprocess.run( # todo: need a cross-platform way to do this, screm - ["cd", "../../", "&&", ".\\gradlew", 'checkPhotonlibIntegrationTestLinuxx86-64DebugGoogleTestExe'], + [ + "cd", + "../../", + "&&", + ".\\gradlew", + "checkPhotonlibIntegrationTestLinuxx86-64DebugGoogleTestExe", + ], shell=True, ) print(ret)