Skip to content

Commit

Permalink
[DATALAD RUNCMD] run codespell throughout fixing typo automagically
Browse files Browse the repository at this point in the history
=== Do not change lines below ===
{
 "chain": [],
 "cmd": "codespell -w",
 "exit": 0,
 "extra_inputs": [],
 "inputs": [],
 "outputs": [],
 "pwd": "."
}
^^^ Do not change lines above ^^^
  • Loading branch information
yarikoptic committed Sep 18, 2023
1 parent fd3869a commit 43b6a2e
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion datashuttle/command_line_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -1031,7 +1031,7 @@ def main() -> None:
should match the datashuttle API function name.
Next, initialise a datashuttle project using the API.
Supress the warning that a config file must
Suppress the warning that a config file must
be made on project initialisation when
a config is being made.
Expand Down
2 changes: 1 addition & 1 deletion datashuttle/datashuttle.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ def upload(
data type folder to upload.
ses_names :
a session name / list of session names, similar to
sub_names but requring a "ses-" prefix.
sub_names but requiring a "ses-" prefix.
dry_run :
perform a dry-run of upload. This will output as if file
transfer was taking place, but no files will be moved. Useful
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"substitution",
"tasklist",
]
# Automatically add achors to markdown headings
# Automatically add anchors to markdown headings
myst_heading_anchors = 3

# Add any paths that contain templates here, relative to this directory.
Expand Down
2 changes: 1 addition & 1 deletion docs/source/pages/documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ To discuss, contribute or give feedback on DataShuttle, please check out our dis

## Python API Guide

DataShuttle can be used through the command line interface (as exampled in the *Get Started* section) or through a Python API. All commands shown in the *Get Started* guide can be used similarly in the Python API (with hypens replaced by underscores).
DataShuttle can be used through the command line interface (as exampled in the *Get Started* section) or through a Python API. All commands shown in the *Get Started* guide can be used similarly in the Python API (with hyphens replaced by underscores).

To start a project in Python, import DataShuttle and initialise the project class:

Expand Down
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
FILESYSTEM_PATH and SERVER_PATH these must point
to the same folder on the HPC, filesystem,
as a moutned drive and server as the linux path to
as a mounted drive and server as the linux path to
connect through SSH
"""
import platform
Expand Down
2 changes: 1 addition & 1 deletion tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ def get_top_level_folder_path(

assert (
folder_name in canonical_folders.get_top_level_folders()
), "folder_name must be cannonical e.g. rawdata"
), "folder_name must be canonical e.g. rawdata"

if local_or_central == "local":
base_path = project.cfg["local_path"]
Expand Down
2 changes: 1 addition & 1 deletion tests/tests_integration/test_command_line_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ def test_multiple_inputs(self, command):
"""
To process lists, a syntax "<>" is used
to specify input is list. Check the passed
varialbes are processed as expected.
variables are processed as expected.
"""
stdout, stderr = test_utils.run_cli(
f"{command} "
Expand Down

0 comments on commit 43b6a2e

Please sign in to comment.