Skip to content

Commit 7a2f1ff

Browse files
[pre-commit.ci] pre-commit autoupdate (#1478)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/pre-commit/pre-commit-hooks: v4.6.0 → v5.0.0](pre-commit/pre-commit-hooks@v4.6.0...v5.0.0) - [github.com/psf/black: 24.4.2 → 25.1.0](psf/black@24.4.2...25.1.0) - [github.com/astral-sh/ruff-pre-commit: v0.4.7 → v0.9.9](astral-sh/ruff-pre-commit@v0.4.7...v0.9.9) * [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 9982c78 commit 7a2f1ff

6 files changed

+5
-10
lines changed

.pre-commit-config.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ci:
77
repos:
88
# Autoformat and linting, misc. details
99
- repo: https://github.com/pre-commit/pre-commit-hooks
10-
rev: v4.6.0
10+
rev: v5.0.0
1111
hooks:
1212
- id: forbid-new-submodules
1313
- id: end-of-file-fixer
@@ -25,12 +25,12 @@ repos:
2525

2626
# Autoformat: Python code
2727
- repo: https://github.com/psf/black
28-
rev: 24.4.2
28+
rev: 25.1.0
2929
hooks:
3030
- id: black
3131

3232
- repo: https://github.com/astral-sh/ruff-pre-commit
33-
rev: v0.4.7
33+
rev: v0.9.9
3434
hooks:
3535
- id: ruff
3636
args: ['--fix']

notebooks/bokeh.ipynb

-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@
9999
"metadata": {},
100100
"outputs": [],
101101
"source": [
102-
"import os\n",
103102
"from urllib.parse import urlparse\n",
104103
"\n",
105104
"url = urlparse(os.environ.get(\"VOILA_REQUEST_URL\"))\n",

notebooks/dashboard.ipynb

-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@
7777
"source": [
7878
"import numpy as np\n",
7979
"from bqplot import pyplot as plt\n",
80-
"import bqplot\n",
8180
"\n",
8281
"fig = plt.figure( title='Line Chart')\n",
8382
"np.random.seed(0)\n",

notebooks/ipympl.ipynb

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
"outputs": [],
1717
"source": [
1818
"%matplotlib widget\n",
19-
"import ipympl\n",
2019
"\n",
2120
"import numpy as np\n",
2221
"import matplotlib.pyplot as plt\n",

notebooks/mimerenderers.ipynb

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"source": [
1010
"from IPython.display import display\n",
1111
"from IPython.display import (\n",
12-
" HTML, Image, Latex, Math, Markdown, SVG\n",
12+
" HTML, Image, Latex, Markdown, SVG\n",
1313
")"
1414
]
1515
},
@@ -283,7 +283,6 @@
283283
"outputs": [],
284284
"source": [
285285
"from IPython.display import display\n",
286-
"import pandas as pd\n",
287286
"\n",
288287
"def Vega(spec):\n",
289288
" bundle = {}\n",

notebooks/yaml.ipynb

+1-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
"metadata": {},
88
"outputs": [],
99
"source": [
10-
"from IPython.display import Markdown, clear_output\n",
11-
"from ipywidgets import ToggleButton, Output\n",
10+
"from IPython.display import Markdown\n",
1211
"import json\n",
1312
"import yaml\n",
1413
"\n",

0 commit comments

Comments
 (0)