Skip to content

Commit

Permalink
Merge pull request #2602 from beeware/autoupdates/pre-commit/codespell
Browse files Browse the repository at this point in the history
Bump codespell from v2.2.6 to v2.3.0
  • Loading branch information
freakboy3742 authored May 27, 2024
2 parents 2e7c6c8 + ed733ba commit f947d22
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ repos:
hooks:
- id: flake8
- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
rev: v2.3.0
hooks:
- id: codespell
# remove toml extra once Python 3.10 is no longer supported
Expand Down
1 change: 1 addition & 0 deletions changes/2602.misc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The ``pre-commit`` hook for ``codespell`` was updated to its latest version.
2 changes: 1 addition & 1 deletion gtk/src/toga_gtk/widgets/multilinetextinput.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def focus(self):

def gtk_on_changed(self, *args):
# buffer.set_text("foo") generates 2 change signals; one clearing the
# buffer, and one setting the new value. We only propegate the second
# buffer, and one setting the new value. We only propagate the second
# signal. To ensure that we also get a signal when the value is
# deliberately cleared, we add an explicit signal handler to set_value()
# for the empty value case.
Expand Down
2 changes: 1 addition & 1 deletion gtk/tests_backend/widgets/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def event_handled(widget, e):
self._keypress_target.disconnect(handler_id)

# GTK has an intermittent failure because on_change handler
# caused by typing a character doesn't fully propegate. A
# caused by typing a character doesn't fully propagate. A
# short delay fixes this.
await asyncio.sleep(0.04)

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
skip = ".git,*.pdf,*.svg"
# the way to make case sensitive skips of words etc
ignore-regex = "\bNd\b"
ignore-words-list = "te,crate,re-use"
ignore-words-list = "te,crate,re-use,MapPin"

# The coverage settings in this file only control `coverage report`. `coverage run` and
# `coverage combine` are controlled by the pyproject.toml files in each package's
Expand Down
4 changes: 2 additions & 2 deletions testbed/tests/widgets/test_webview.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ def javascript_error_context(probe):


async def test_evaluate_javascript_error(widget, probe):
"If JavaScript content raises an error, the error is propegated"
"If JavaScript content raises an error, the error is propagated"
on_result_handler = Mock()

with javascript_error_context(probe):
Expand Down Expand Up @@ -285,7 +285,7 @@ async def test_evaluate_javascript_error(widget, probe):


async def test_evaluate_javascript_error_without_handler(widget, probe):
"A handler isn't needed to propegate a JavaScript error"
"A handler isn't needed to propagate a JavaScript error"
with javascript_error_context(probe):
result = await wait_for(
widget.evaluate_javascript("not valid js"),
Expand Down

0 comments on commit f947d22

Please sign in to comment.