Skip to content
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 @@ -17,7 +17,7 @@ repos:
exclude: ^\.yarn

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.7
rev: v0.6.1
hooks:
- id: ruff
args: [--fix, --show-fixes]
Expand Down
84 changes: 43 additions & 41 deletions tests/files/nb0.ipynb
Original file line number Diff line number Diff line change
@@ -1,43 +1,45 @@
{
"cells": [
{
"cell_type": "code",
"source": [
"print('Hello, World!')"
],
"metadata": {},
"outputs": [],
"execution_count": null,
"id": null
},
{
"cell_type": "code",
"source": "print('Hello, World!')",
"metadata": {},
"outputs": [],
"execution_count": null,
"id": null
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.2"
}
},
"nbformat": 4,
"nbformat_minor": 5
"cells": [
{
"cell_type": "code",
"execution_count": null,
"id": "7fb27b941602401d91542211134fc71a",
"metadata": {},
"outputs": [],
"source": [
"print(\"Hello, World!\")"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "acae54e37e7d407bbb7b55eff062a284",
"metadata": {},
"outputs": [],
"source": [
"print(\"Hello, World!\")"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.2"
}
},
"nbformat": 4,
"nbformat_minor": 5
}
6 changes: 2 additions & 4 deletions tests/files/plotly_renderer.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -867,10 +867,8 @@
],
"source": [
"import plotly.graph_objects as go\n",
"fig = go.Figure(\n",
" data=[go.Bar(y=[2, 1, 3])],\n",
" layout_title_text=\"A Figure Displayed with fig.show()\"\n",
")\n",
"\n",
"fig = go.Figure(data=[go.Bar(y=[2, 1, 3])], layout_title_text=\"A Figure Displayed with fig.show()\")\n",
"fig.show()"
]
}
Expand Down
Loading