Skip to content

The template for benchmarks/custom_bms/install.py has been updated #6385

@scitools-ci

Description

@scitools-ci

The template for benchmarks/custom_bms/install.py has been updated.

Consider adopting these changes into the repo; the changes can be found below.

The template file can be found in the .github repo: templates/benchmarks/custom_bms/install.py

The diff between the specified file is as follows:

diff --git a/templates/benchmarks/custom_bms/install.py b/templates/benchmarks/custom_bms/install.py
index 59757ba..f762ee9 100644
--- a/templates/benchmarks/custom_bms/install.py
+++ b/templates/benchmarks/custom_bms/install.py
@@ -17,17 +17,17 @@ this_dir = Path(__file__).parent
 
 
 def package_files(new_dir: Path) -> None:
-    """Package REPONAME's custom benchmarks for detection by ASV.
+    """Package SciTools' custom benchmarks for detection by ASV.
 
     Parameters
     ----------
     new_dir : Path
         The directory to package the custom benchmarks in.
     """
-    asv_bench_REPONAME = new_dir / "asv_bench_REPONAME"
-    benchmarks = asv_bench_REPONAME / "benchmarks"
+    asv_bench_scitools = new_dir / "asv_bench_scitools"
+    benchmarks = asv_bench_scitools / "benchmarks"
     benchmarks.mkdir(parents=True)
-    (asv_bench_REPONAME / "__init__.py").touch()
+    (asv_bench_scitools / "__init__.py").touch()
 
     for py_file in this_dir.glob("*.py"):
         if py_file != Path(__file__):
@@ -39,7 +39,7 @@ def package_files(new_dir: Path) -> None:
     py_project.write_text(
         """
         [project]
-        name = "asv_bench_REPONAME"
+        name = "asv_bench_scitools"
         version = "0.1"
         """
     )
@@ -52,4 +52,4 @@ def main():
 
 
 if __name__ == "__main__":
-    main()
\ No newline at end of file
+    main()

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions