Skip to content

Commit

Permalink
Merge pull request #88 from schwehr/project-toml-typo
Browse files Browse the repository at this point in the history
Fix a number of typos.
  • Loading branch information
mwcraig authored Sep 23, 2023
2 parents a12191b + ca58ad3 commit ec45401
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/binder-badge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
script: |
var PR_HEAD_USERREPO = process.env.PR_HEAD_USERREPO;
var PR_HEAD_REF = process.env.PR_HEAD_REF;
github.issues.createComment({
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
Expand Down
2 changes: 1 addition & 1 deletion CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Code of conduct

Contributors to this respository are expected to follow the [Python Software Foundation Code of Conduct](https://www.python.org/psf/conduct/)in their interactions in pull requests, issues, and other interactions related to this package.
Contributors to this repository are expected to follow the [Python Software Foundation Code of Conduct](https://www.python.org/psf/conduct/)in their interactions in pull requests, issues, and other interactions related to this package.
4 changes: 2 additions & 2 deletions docs/events.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"source": [
"### If you watch keyboard events then key presses are *not* passed on to the notebook \n",
"\n",
"This is to prevent the user from, e.g., inadvertantly cutting a cell by pressing `x` over a widget that is catching key events."
"This is to prevent the user from, e.g., inadvertently cutting a cell by pressing `x` over a widget that is catching key events."
]
},
{
Expand Down Expand Up @@ -314,7 +314,7 @@
"The positions are relative to the part of the page currently visible in the browser window, which are the same coordinates as `clientX` and `clientY` for the mouse position.\n",
"\n",
"+ `boundingRectWidth`, `boundingRectHeight`: Width and height of the element in pixels.\n",
"+ `boundingRectTop`, `boundingRectLeft`, `boundingRectBottom`, `boundingRectRight`: Top, left, bottom and right positions of the upper left and lower right corners of the element, in the same coordiinates as the mouse position `clientX` and `clientY`."
"+ `boundingRectTop`, `boundingRectLeft`, `boundingRectBottom`, `boundingRectRight`: Top, left, bottom and right positions of the upper left and lower right corners of the element, in the same coordinates as the mouse position `clientX` and `clientY`."
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion ipyevents/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class Event(CoreWidget):
ignore_modifier_key_events : bool
If ``True``, ignore key presses of modifier keys
('Shift', 'Control', 'Alt', 'Meta'). Useful when keys mouse events
with modifiers are watched but you want ot ignore the modifiers by
with modifiers are watched but you want to ignore the modifiers by
themselves. Default is ``False``.
prevent_default_actions : bool
Expand Down
2 changes: 1 addition & 1 deletion ipyevents/tests/test_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def test_negative_wait_raises_error():


def test_floating_point_wait_raises_error():
# A floating point value should reaise a TraitletError
# A floating point value should raise a TraitletError
event_widget = Event()

with pytest.raises(traitlets.traitlets.TraitError) as e:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ name = "ipyevents"
description = "A custom widget for returning mouse and keyboard events to Python"
readme = "README.md"
license = {text = "BSD 3-clause"}
lincense_files = ["LICENSE.md"]
license_files = ["LICENSE.md"]
requires-python = ">=3.6"
authors = [
{ name = "Matt Craig", email = "mattwcraig@gmail.com" },
Expand Down

0 comments on commit ec45401

Please sign in to comment.