diff --git a/codesectools/datasets/BenchmarkJava/dataset.py b/codesectools/datasets/BenchmarkJava/dataset.py index ed41682..f3f885d 100644 --- a/codesectools/datasets/BenchmarkJava/dataset.py +++ b/codesectools/datasets/BenchmarkJava/dataset.py @@ -56,7 +56,7 @@ class BenchmarkJava(PrebuiltFileDataset): license_url (str): A URL to the full text of the license. build_command (str): The command to build the Java project. prebuilt_expected (tuple): A tuple defining the path and glob pattern for expected build artifacts. - artefacts_arg (str): The argument to specify the location of build artifacts for SAST tools. + artifacts_arg (str): The argument to specify the location of build artifacts for SAST tools. """ @@ -67,7 +67,7 @@ class BenchmarkJava(PrebuiltFileDataset): build_command = "mvn clean compile" prebuilt_expected = (Path("target/classes/org/owasp/benchmark/testcode"), "*.class") - artefacts_arg = "." + artifacts_arg = "." def __init__(self, lang: None | str = None) -> None: """Initialize the BenchmarkJava dataset. diff --git a/codesectools/datasets/JulietTestSuiteC/dataset.py b/codesectools/datasets/JulietTestSuiteC/dataset.py index ccd30f4..7342731 100644 --- a/codesectools/datasets/JulietTestSuiteC/dataset.py +++ b/codesectools/datasets/JulietTestSuiteC/dataset.py @@ -56,7 +56,7 @@ class JulietTestSuiteC(PrebuiltFileDataset): build_command = f"bear -- make -C ./C individuals -j{CPU_COUNT}" prebuilt_expected = (Path("."), "compile_commands.json") - artefacts_arg = "compile_commands.json" + artifacts_arg = "compile_commands.json" def __init__(self, lang: None | str = None) -> None: """Initialize the JulietTestSuiteC dataset. diff --git a/codesectools/datasets/core/dataset.py b/codesectools/datasets/core/dataset.py index ffef70d..c4f047a 100644 --- a/codesectools/datasets/core/dataset.py +++ b/codesectools/datasets/core/dataset.py @@ -164,13 +164,13 @@ class PrebuiltDatasetMixin: build_command (str): The command required to build the dataset. prebuilt_expected (tuple[Path, str]): A tuple containing the path and glob pattern to find the built artifacts. - artefacts_arg (str): The argument to pass to the SAST tool command template. + artifacts_arg (str): The argument to pass to the SAST tool command template. """ build_command: str prebuilt_expected: tuple[Path, str] - artefacts_arg: str + artifacts_arg: str def is_built(self) -> bool: """Check if the dataset has been built."""