From b2f71a87af023177d38196dcf8c9c1a725b8cf59 2022-02-09 18:59:30 From: luz paz Date: 2022-02-09 18:59:30 Subject: [PATCH] Fix various typos Found via `codespell -q 3` --- diff --git a/.github/workflows/downstream.yml b/.github/workflows/downstream.yml index 5c5adc1..309d03a 100644 --- a/.github/workflows/downstream.yml +++ b/.github/workflows/downstream.yml @@ -39,7 +39,7 @@ jobs: - name: Install and update Python dependencies run: | python -m pip install --upgrade -e file://$PWD#egg=ipython[test] - # we must instal IPython after ipykernel to get the right versions. + # we must install IPython after ipykernel to get the right versions. python -m pip install --upgrade --upgrade-strategy eager flaky ipyparallel python -m pip install --upgrade 'pytest<7' - name: pytest diff --git a/IPython/core/completer.py b/IPython/core/completer.py index 9774fd5..89b55d2 100644 --- a/IPython/core/completer.py +++ b/IPython/core/completer.py @@ -1182,7 +1182,7 @@ class IPCompleter(Completer): # This is a list of names of unicode characters that can be completed # into their corresponding unicode value. The list is large, so we - # laziliy initialize it on first use. Consuming code should access this + # lazily initialize it on first use. Consuming code should access this # attribute through the `@unicode_names` property. self._unicode_names = None @@ -2070,7 +2070,7 @@ class IPCompleter(Completer): indexed. line_buffer : optional, str The current line the cursor is in, this is mostly due to legacy - reason that readline coudl only give a us the single current line. + reason that readline could only give a us the single current line. Prefer `full_text`. text : str The current "token" the cursor is in, mostly also for historical diff --git a/IPython/extensions/tests/test_autoreload.py b/IPython/extensions/tests/test_autoreload.py index a0fe725..88637fb 100644 --- a/IPython/extensions/tests/test_autoreload.py +++ b/IPython/extensions/tests/test_autoreload.py @@ -33,7 +33,7 @@ from IPython.testing.decorators import skipif_not_numpy if platform.python_implementation() == "PyPy": pytest.skip( - "Current autoreload implementation is extremly slow on PyPy", + "Current autoreload implementation is extremely slow on PyPy", allow_module_level=True, ) diff --git a/SECURITY.md b/SECURITY.md index a4b9435..dc5db66 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -3,4 +3,4 @@ ## Reporting a Vulnerability All IPython and Jupyter security are handled via security@ipython.org. -You can find more informations on the Jupyter website. https://jupyter.org/security +You can find more information on the Jupyter website. https://jupyter.org/security diff --git a/appveyor.yml b/appveyor.yml index b1c0abe..7637841 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -5,7 +5,7 @@ matrix: environment: global: APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2022' - COLUMNS: 120 # Appveyor web viwer window width is 130 chars + COLUMNS: 120 # Appveyor web viewer window width is 130 chars matrix: - PYTHON: "C:\\Python38" diff --git a/docs/source/sphinxext.rst b/docs/source/sphinxext.rst index b2012fa..093e04a 100644 --- a/docs/source/sphinxext.rst +++ b/docs/source/sphinxext.rst @@ -204,7 +204,7 @@ suppress the seed line so it doesn't show up in the rendered output [0.22591016, 0.77731835], [0.0072729 , 0.34273127]]) -For more information on @supress and @doctest decorators, please refer to the end of this file in +For more information on @suppress and @doctest decorators, please refer to the end of this file in Pseudo-Decorators section. Another demonstration of multi-line input and output diff --git a/tools/release_helper.sh b/tools/release_helper.sh index a920844..54114d1 100644 --- a/tools/release_helper.sh +++ b/tools/release_helper.sh @@ -111,7 +111,7 @@ then sleep 1 echo $BLUE"Saving API to file $PREV_RELEASE"$NOR frappuccino IPython IPython.kernel IPython.lib IPython.qt IPython.lib.kernel IPython.html IPython.frontend IPython.external --save IPython-$PREV_RELEASE.json - echo $BLUE"comming back to $BRANCH"$NOR + echo $BLUE"coming back to $BRANCH"$NOR git checkout $BRANCH sleep 1 echo $BLUE"comparing ..."$NOR