Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump codespell from v2.2.6 to v2.3.0 #2602

Merged
merged 3 commits into from
May 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading