Skip to content

Commit 06dc63d

Browse files
[pre-commit.ci] pre-commit autoupdate (#263)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.5.7 → v0.6.1](astral-sh/ruff-pre-commit@v0.5.7...v0.6.1) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 1c49b94 commit 06dc63d

File tree

3 files changed

+46
-46
lines changed

3 files changed

+46
-46
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ repos:
1717
exclude: ^\.yarn
1818

1919
- repo: https://github.com/astral-sh/ruff-pre-commit
20-
rev: v0.5.7
20+
rev: v0.6.1
2121
hooks:
2222
- id: ruff
2323
args: [--fix, --show-fixes]

tests/files/nb0.ipynb

Lines changed: 43 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,45 @@
11
{
2-
"cells": [
3-
{
4-
"cell_type": "code",
5-
"source": [
6-
"print('Hello, World!')"
7-
],
8-
"metadata": {},
9-
"outputs": [],
10-
"execution_count": null,
11-
"id": null
12-
},
13-
{
14-
"cell_type": "code",
15-
"source": "print('Hello, World!')",
16-
"metadata": {},
17-
"outputs": [],
18-
"execution_count": null,
19-
"id": null
20-
}
21-
],
22-
"metadata": {
23-
"kernelspec": {
24-
"display_name": "Python 3 (ipykernel)",
25-
"language": "python",
26-
"name": "python3"
27-
},
28-
"language_info": {
29-
"codemirror_mode": {
30-
"name": "ipython",
31-
"version": 3
32-
},
33-
"file_extension": ".py",
34-
"mimetype": "text/x-python",
35-
"name": "python",
36-
"nbconvert_exporter": "python",
37-
"pygments_lexer": "ipython3",
38-
"version": "3.10.2"
39-
}
40-
},
41-
"nbformat": 4,
42-
"nbformat_minor": 5
2+
"cells": [
3+
{
4+
"cell_type": "code",
5+
"execution_count": null,
6+
"id": "7fb27b941602401d91542211134fc71a",
7+
"metadata": {},
8+
"outputs": [],
9+
"source": [
10+
"print(\"Hello, World!\")"
11+
]
12+
},
13+
{
14+
"cell_type": "code",
15+
"execution_count": null,
16+
"id": "acae54e37e7d407bbb7b55eff062a284",
17+
"metadata": {},
18+
"outputs": [],
19+
"source": [
20+
"print(\"Hello, World!\")"
21+
]
22+
}
23+
],
24+
"metadata": {
25+
"kernelspec": {
26+
"display_name": "Python 3 (ipykernel)",
27+
"language": "python",
28+
"name": "python3"
29+
},
30+
"language_info": {
31+
"codemirror_mode": {
32+
"name": "ipython",
33+
"version": 3
34+
},
35+
"file_extension": ".py",
36+
"mimetype": "text/x-python",
37+
"name": "python",
38+
"nbconvert_exporter": "python",
39+
"pygments_lexer": "ipython3",
40+
"version": "3.10.2"
41+
}
42+
},
43+
"nbformat": 4,
44+
"nbformat_minor": 5
4345
}

tests/files/plotly_renderer.ipynb

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -867,10 +867,8 @@
867867
],
868868
"source": [
869869
"import plotly.graph_objects as go\n",
870-
"fig = go.Figure(\n",
871-
" data=[go.Bar(y=[2, 1, 3])],\n",
872-
" layout_title_text=\"A Figure Displayed with fig.show()\"\n",
873-
")\n",
870+
"\n",
871+
"fig = go.Figure(data=[go.Bar(y=[2, 1, 3])], layout_title_text=\"A Figure Displayed with fig.show()\")\n",
874872
"fig.show()"
875873
]
876874
}

0 commit comments

Comments
 (0)