Skip to content

Commit c71a846

Browse files
authored
Test updated typos action (#692)
* Test updated typos action * nit: spelling error exported * nit: spelling error install guide * example: remove global cli from google example
1 parent 5093385 commit c71a846

File tree

4 files changed

+3
-7
lines changed

4 files changed

+3
-7
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
run: conda create --quiet --name black pyflakes
1818

1919
- name: Check Spelling
20-
uses: crate-ci/typos@7ad296c72fa8265059cc03d1eda562fbdfcd6df2 # v1.9.0
20+
uses: crate-ci/typos@18bebe05c9c1076df911429745a0a1a2642e6b03 # v1.32.0
2121
with:
2222
files: ./docs/getting_started/ ./docs/index.rst
2323

docs/getting_started/installation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Installation
55
============
66

77
Singularity Registry HPC (shpc) can be installed from pypi, or from source.
8-
In all cases, a module technology is required such as `lmod (install intstructions) <https://lmod.readthedocs.io/en/latest/030_installing.html>`_
8+
In all cases, a module technology is required such as `lmod (install instructions) <https://lmod.readthedocs.io/en/latest/030_installing.html>`_
99
or `environment modules (install instructions) <https://modules.readthedocs.io/en/latest/INSTALL.html>`_.
1010
Having module software installed means that the ``module`` command should be on your path.
1111
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

docs/getting_started/user-guide.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ variable replacement. A summary table of variables is included below, and then f
212212
- Format string for module commands exec,shell,run (not aliases) can include ``{{ registry }}``, ``{{ repository }}``, ``{{ tool }}`` and ``{{ version }}``
213213
- ``'{{ tool }}'``
214214
* - bindpaths
215-
- string with comma separated list of paths to binds. If set, expored to SINGULARITY_BINDPATH
215+
- string with comma separated list of paths to binds. If set, exported to SINGULARITY_BINDPATH
216216
- null
217217
* - singularity_shell
218218
- exported to SINGULARITY_SHELL

example/google-cloud-storage/google-cloud-storage.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,6 @@ def run(self):
8282
"""
8383
Run the repo task, uploading the data and taking a pause if needed.
8484
"""
85-
global cli
86-
8785
# First check that it doesn't already exist
8886
bucket_name = self.bucket.replace("gs://", "")
8987
bucket_name, bucket_subdir = bucket_name.split("/", 1)
@@ -190,8 +188,6 @@ def main():
190188
if not os.path.exists(args.containers):
191189
sys.exit(f"Path {args.containers} does not exist.")
192190

193-
global cli
194-
195191
# Create the root to install to
196192
print(f"Containers and modules will install to {args.root}")
197193
if not os.path.exists(args.root):

0 commit comments

Comments
 (0)