Skip to content

Commit

Permalink
Update event schema version type (#421)
Browse files Browse the repository at this point in the history
* Update event schema version type

* Tweak maxDiffPixelRatio

* Set maxDiffPixelRatio to 0.001

Co-authored-by: Duc Trung Le <[email protected]>

* Set maxDiffPixelRatio to 0.01

---------

Co-authored-by: Duc Trung Le <[email protected]>
  • Loading branch information
davidbrochart and trungleduc authored Dec 18, 2024
1 parent dcce8f5 commit 0a75715
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"$id": https://schema.jupyter.org/jupyter_collaboration/awareness/v1
"$schema": "http://json-schema.org/draft-07/schema"
version: 1
version: "1"
title: Collaborative awareness events
personal-data: true
description: |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"$id": https://schema.jupyter.org/jupyter_collaboration/fork/v1
"$schema": "http://json-schema.org/draft-07/schema"
version: 1
version: "1"
title: Collaborative fork events
personal-data: true
description: |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"$id": https://schema.jupyter.org/jupyter_collaboration/session/v1
"$schema": "http://json-schema.org/draft-07/schema"
version: 1
version: "1"
title: Collaborative session events
personal-data: true
description: |
Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ filterwarnings = [
'ignore:Unclosed <MemoryObjectSendStream:ResourceWarning',
# see https://github.com/python/cpython/issues/126259
'ignore:unclosed database in <sqlite3.Connection object',
# remove when this is merged: https://github.com/jupyter-server/jupyter_server/pull/1481
'ignore:The `version` property of an event schema must be a string'
]

[tool.mypy]
Expand Down
2 changes: 1 addition & 1 deletion ui-tests/playwright.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module.exports = {
},
expect: {
toMatchSnapshot: {
maxDiffPixelRatio: 0.0001
maxDiffPixelRatio: 0.01
}
}
};

0 comments on commit 0a75715

Please sign in to comment.