diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 52b40a866..9a031c83a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,7 +17,7 @@ jobs: run: conda create --quiet --name black pyflakes - name: Check Spelling - uses: crate-ci/typos@7ad296c72fa8265059cc03d1eda562fbdfcd6df2 # v1.9.0 + uses: crate-ci/typos@18bebe05c9c1076df911429745a0a1a2642e6b03 # v1.32.0 with: files: ./docs/getting_started/ ./docs/index.rst diff --git a/docs/getting_started/installation.rst b/docs/getting_started/installation.rst index cf4ec2870..50ba334f4 100644 --- a/docs/getting_started/installation.rst +++ b/docs/getting_started/installation.rst @@ -5,7 +5,7 @@ Installation ============ Singularity Registry HPC (shpc) can be installed from pypi, or from source. -In all cases, a module technology is required such as `lmod (install intstructions) `_ +In all cases, a module technology is required such as `lmod (install instructions) `_ or `environment modules (install instructions) `_. Having module software installed means that the ``module`` command should be on your path. Once you are ready to install shpc along your module software, it's recommended that you create a virtual environment, if you have not already diff --git a/docs/getting_started/user-guide.rst b/docs/getting_started/user-guide.rst index 8a9b29b04..5406a0f80 100644 --- a/docs/getting_started/user-guide.rst +++ b/docs/getting_started/user-guide.rst @@ -212,7 +212,7 @@ variable replacement. A summary table of variables is included below, and then f - Format string for module commands exec,shell,run (not aliases) can include ``{{ registry }}``, ``{{ repository }}``, ``{{ tool }}`` and ``{{ version }}`` - ``'{{ tool }}'`` * - bindpaths - - string with comma separated list of paths to binds. If set, expored to SINGULARITY_BINDPATH + - string with comma separated list of paths to binds. If set, exported to SINGULARITY_BINDPATH - null * - singularity_shell - exported to SINGULARITY_SHELL diff --git a/example/google-cloud-storage/google-cloud-storage.py b/example/google-cloud-storage/google-cloud-storage.py index 18bd7d821..4cbb034fd 100755 --- a/example/google-cloud-storage/google-cloud-storage.py +++ b/example/google-cloud-storage/google-cloud-storage.py @@ -82,8 +82,6 @@ def run(self): """ Run the repo task, uploading the data and taking a pause if needed. """ - global cli - # First check that it doesn't already exist bucket_name = self.bucket.replace("gs://", "") bucket_name, bucket_subdir = bucket_name.split("/", 1) @@ -190,8 +188,6 @@ def main(): if not os.path.exists(args.containers): sys.exit(f"Path {args.containers} does not exist.") - global cli - # Create the root to install to print(f"Containers and modules will install to {args.root}") if not os.path.exists(args.root):