Skip to content

Commit 15447b5

Browse files
committed
Fix spelling errors found by codespell
1 parent 1e45049 commit 15447b5

File tree

9 files changed

+12
-12
lines changed

9 files changed

+12
-12
lines changed

.github/workflows/lint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ jobs:
2929
python -m pip install --upgrade pip
3030
pip install codespell
3131
- name: Find typos with codespell
32-
run: codespell --ignore-words-list="ba,te" --quiet-level=2 --skip="*.po"
32+
run: codespell --ignore-words-list="ba,te,deltion" --quiet-level=2 --skip="*.po"

CHANGELOG.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -773,7 +773,7 @@ Suggestions/bug reports/patches are welcome regarding this.
773773
-----
774774
Well, hopefully we're one step closer to making the list sizing
775775
stuff work. I really hate doing code for that kind of thing as I
776-
never get it quite right, but with perseverence it should end up
776+
never get it quite right, but with perseverance it should end up
777777
being completely stable; it's not the hardest thing in the world.
778778

779779
Various cosmetic fixes have been put in at the request of a bunch

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ using the package manager.
6666
Ubuntu/Debian
6767
~~~~~~~~~~~~~
6868
Ubuntu/Debian family Linux users and install bpython using the apt package manager, using the
69-
command with sudo priviledge:
69+
command with sudo privilege:
7070

7171
.. code-block:: bash
7272
@@ -108,7 +108,7 @@ Then you should invoke a program called ``bpython-curses.exe`` instead of ``bpyt
108108
Mac OS
109109
~~~~~~
110110
Like Windows, Mac OS does not include a package manager by default. If you have installed any
111-
third-party pacakge manager like MacPorts, you can install it via
111+
third-party package manager like MacPorts, you can install it via
112112

113113
.. code-block:: bash
114114

bpython/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ def delete(self):
524524
def echo(self, s, redraw=True):
525525
"""Parse and echo a formatted string with appropriate attributes. It
526526
uses the formatting method as defined in formatter.py to parse the
527-
srings. It won't update the screen if it's reevaluating the code (as it
527+
strings. It won't update the screen if it's reevaluating the code (as it
528528
does with undo)."""
529529
a = get_colpair(self.config, "output")
530530
if "\x01" in s:

bpython/curtsiesfrontend/interaction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def pop_permanent_message(self, msg):
5757
if msg in self.permanent_stack:
5858
self.permanent_stack.remove(msg)
5959
else:
60-
raise ValueError("Messsage %r was not in permanent_stack" % msg)
60+
raise ValueError("Message %r was not in permanent_stack" % msg)
6161

6262
@property
6363
def has_focus(self):

bpython/sample-config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
# External editor to use for editing the current line, block, or full history
3939
# Examples: vi (vim)
40-
# code --wait (VS Code) - in VS Code use the command pallete to:
40+
# code --wait (VS Code) - in VS Code use the command palette to:
4141
# Shell Command: Install 'code' command in PATH
4242
# atom -nw (Atom)
4343
# Default is to try $EDITOR and $VISUAL, then vi - but if you uncomment

doc/sphinx/source/configuration-options.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ yank_from_buffer
402402
^^^^^^^^^^^^^^^^
403403
Default: C-y
404404

405-
Pastes the current line from the buffer (the one you previously cutted)
405+
Pastes the current line from the buffer (the one you previously cut)
406406

407407
CLI
408408
---

doc/sphinx/source/django.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ out of the box models and views for a lot of stuff.
1212
For those people wanting to use bpython with their Django installation you can
1313
follow the following steps. Written by Chanita Siridechkun. The following
1414
instructions make bpython try to import a setting module in the current folder
15-
and let django set up its enviroment with the settings module (if found) if
16-
bpython can't find the settings module nothing happens and no enviroment gets
15+
and let django set up its environment with the settings module (if found) if
16+
bpython can't find the settings module nothing happens and no environment gets
1717
set up.
1818

1919
The addition also checks if settings contains a PINAX_ROOT (if you use Pinax),
2020
if it finds this key it will do some additional Pinax setup. The Pinax addition
2121
was written by Skylar Saveland.
2222

23-
bpython uses something called the PYTHONSTARTUP enviroment variable. This is
23+
bpython uses something called the PYTHONSTARTUP environment variable. This is
2424
also used by the vanilla Python REPL.
2525

2626
Add the following lines to your ``.profile`` or equivalent file on your operating

doc/sphinx/source/man-bpython.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The idea is to provide the user with all the features in-line, much like modern
1919
IDEs, but in a simple, lightweight package that can be run in a terminal window.
2020

2121
In-line syntax highlighting.
22-
Hilights commands as you type!
22+
Highlights commands as you type!
2323

2424
Readline-like autocomplete with suggestions displayed as you type.
2525
Press tab to complete expressions when there's only one suggestion.

0 commit comments

Comments
 (0)