Переглянути джерело

[DATALAD RUNCMD] run codespell fixing typos

=== Do not change lines below ===
{
 "chain": [],
 "cmd": "codespell --skip '*.svg,.git,venvs,_build,versioneer.py,DL-*,.github' --ignore-words-list wit -w",
 "exit": 0,
 "extra_inputs": [],
 "inputs": [],
 "outputs": [],
 "pwd": "."
}
^^^ Do not change lines above ^^^
Yaroslav Halchenko 1 рік тому
батько
коміт
08f7f950d4

+ 1 - 1
Makefile

@@ -23,7 +23,7 @@ clean-examples:
 	# wipe out the RIA store
 	@rm -vrf /home/me/myriastore
 
-# do not touch whats in the DataLad narrative, only certain unrelated wdirs and examples
+# do not touch what's in the DataLad narrative, only certain unrelated wdirs and examples
 clean-DVC:
 	# wipe out the DVC comparison
 	@find docs/beyond_basics/_examples -name DL-101-168* -type f | xargs rm -vrf

+ 1 - 1
dataladhandbook_support/_version.py

@@ -268,7 +268,7 @@ def git_pieces_from_vcs(tag_prefix, root, verbose, run_command=run_command):
         # TAG-NUM-gHEX
         mo = re.search(r'^(.+)-(\d+)-g([0-9a-f]+)$', git_describe)
         if not mo:
-            # unparseable. Maybe git-describe is misbehaving?
+            # unparsable. Maybe git-describe is misbehaving?
             pieces["error"] = ("unable to parse git-describe output: '%s'"
                                % describe_out)
             return pieces

+ 3 - 3
dataladhandbook_support/directives.py

@@ -11,7 +11,7 @@ class HandbookAdmonition(BaseAdmonition):
     node_class = nodes.admonition
     # empty is no allowed
     has_content = True
-    # needs at least a one word titel
+    # needs at least a one word title
     required_arguments = 1
     option_spec = {
         'name': unchanged,
@@ -240,7 +240,7 @@ def depart_findoutmoreref_html(self, node):
 
 
 def visit_findoutmoreref_latex(self, node):
-    # \textit to immitate the href style
+    # \textit to imitate the href style
     self.body.append(
         '\\textit{{Find-out-more}}~{{\\findoutmoreiconinline}}\\textit{{\\ref{{{r}}}}} '.format(
             r=node.children[0].attributes['refid']))
@@ -264,7 +264,7 @@ def depart_windowswitref_html(self, node):
 
 
 def visit_windowswitref_latex(self, node):
-    # \textit to immitate the href style
+    # \textit to imitate the href style
     self.body.append(
         '\\textit{{Windows-wit}}~{{\\windowswiticoninline}}\\textit{{\\ref{{{r}}}}} '.format(
             r=node.children[0].attributes['refid']))

+ 1 - 1
docs/basics/101-136-filesystem.rst

@@ -1188,7 +1188,7 @@ Afterwards, ``rm -rf <dataset>`` will succeed.
 However, instead of ``rm -rf``, a faster way to remove a dataset is using
 :command:`datalad remove`: Run ``datalad remove <dataset>`` outside of the
 superdataset to remove a top-level dataset with all its contents. Likely,
-both  ``--recursive`` and ``--nocheck`` (for DataLad versions ``<0.16``) or ``--reckless [availabilty|undead|kill]`` (for DataLad versions ``0.16`` and higher) flags are necessary
+both  ``--recursive`` and ``--nocheck`` (for DataLad versions ``<0.16``) or ``--reckless [availability|undead|kill]`` (for DataLad versions ``0.16`` and higher) flags are necessary
 to traverse into subdatasets and to remove content that does not have verified remotes.
 
 Be aware though that both ways to delete a dataset will

+ 2 - 2
docs/code_from_chapters/neurohackademy.rst

@@ -304,7 +304,7 @@ Whenever a file's content is not available after cloning a dataset, this file is
 .. figure:: ../artwork/src/publishing/publishing_gitvsannex.svg
 
 Git will never know an annexed file's content, it will only know its content identity (to ensure data integrity at all times) and all the locations where file content of this file exists.
-So when you clone a dataset, Git will show you the file name, and datalad get will retrieve the file contents on demand from whereever they are stored.
+So when you clone a dataset, Git will show you the file name, and datalad get will retrieve the file contents on demand from wherever they are stored.
 
 Consider the nilearn tutorial we added to the dataset.
 This file is annexed, and its location information is kept internally.
@@ -415,7 +415,7 @@ Likewise, removing the top level dataset with ``remove`` will fail the availabil
    cd ../
    datalad remove -d my-analysis
 
-But it can be overriden the very same way::
+But it can be overridden the very same way::
 
    datalad remove -d my-analysis --reckless availability