From 8650aacd57687ca4119a1038e141138561e3cb2e Mon Sep 17 00:00:00 2001 From: Matthias Bussonnier Date: Mon, 27 Aug 2018 17:56:10 -0700 Subject: [PATCH] Fix some typos Using `codespell -q3 -w` that I just discovered. (https://github.com/codespell-project/codespell, pip install codespell) --- README.rst | 2 +- docs/howto/admin/resource-estimation.rst | 2 +- docs/howto/env/user-environment.rst | 4 ++-- integration-tests/plugins/simplest/tljh_simplest.py | 2 +- tljh/config.py | 2 +- tljh/systemd.py | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.rst b/README.rst index f27c3ec..92ab23f 100644 --- a/README.rst +++ b/README.rst @@ -28,7 +28,7 @@ Development Status ================== This project is currently in **alpha** state. Most things work, but we might -still make breaking changes that have no clear upgrade pathway. We are targetting +still make breaking changes that have no clear upgrade pathway. We are targeting a v0.1 release sometime in mid-August 2018. Follow `this milestone `_ to see progress towards the release! diff --git a/docs/howto/admin/resource-estimation.rst b/docs/howto/admin/resource-estimation.rst index 440796d..96ef3e5 100644 --- a/docs/howto/admin/resource-estimation.rst +++ b/docs/howto/admin/resource-estimation.rst @@ -20,7 +20,7 @@ installations. The ``128MB`` is overhead for TLJH and related services. **Server Memory Recommended** -is the amount of Memory (RAM) the server you aquire should have - we recommend +is the amount of Memory (RAM) the server you acquire should have - we recommend erring on the side of 'more Memory'. The other terms are explained below. Maximum concurrent users diff --git a/docs/howto/env/user-environment.rst b/docs/howto/env/user-environment.rst index 309578b..c46b08c 100644 --- a/docs/howto/env/user-environment.rst +++ b/docs/howto/env/user-environment.rst @@ -14,7 +14,7 @@ easily. Installing pip packages ======================= -`pip `_ is the recomended tool for installing packages +`pip `_ is the recommended tool for installing packages in Python from the `Python Packaging Index (PyPI) `_. PyPI has almost 145,000 packages in it right now, so a lot of what you need is going to be there! @@ -115,7 +115,7 @@ make sure to look in the version of Ubuntu you are using! User environment location ========================= -The user environment is a conda enviornment set up in ``/opt/tljh/user``, with +The user environment is a conda environment set up in ``/opt/tljh/user``, with a Python3 kernel as the default. It is readable by all users, but writeable only by users who have root access. This makes it possible for JupyterHub admins (who have root access with ``sudo``) to install software in the user environment easily. diff --git a/integration-tests/plugins/simplest/tljh_simplest.py b/integration-tests/plugins/simplest/tljh_simplest.py index 3d548e7..0da9a2a 100644 --- a/integration-tests/plugins/simplest/tljh_simplest.py +++ b/integration-tests/plugins/simplest/tljh_simplest.py @@ -1,5 +1,5 @@ """ -Simplest plugin that excercises all the hooks +Simplest plugin that exercises all the hooks """ from tljh.hooks import hookimpl diff --git a/tljh/config.py b/tljh/config.py index 51169e1..7f6e3b4 100644 --- a/tljh/config.py +++ b/tljh/config.py @@ -244,7 +244,7 @@ def main(argv=None): ) set_parser.add_argument( 'value', - help='Value ot set the configuration key to' + help='Value to set the configuration key to' ) add_item_parser = subparsers.add_parser( diff --git a/tljh/systemd.py b/tljh/systemd.py index 9541f9f..2d11934 100644 --- a/tljh/systemd.py +++ b/tljh/systemd.py @@ -21,7 +21,7 @@ def reload_daemon(): def install_unit(name, unit, path='/etc/systemd/system'): """ - Install unit wih given name + Install unit with given name """ with open(os.path.join(path, name), 'w') as f: f.write(unit)