Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #1478

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ci:
repos:
# Autoformat and linting, misc. details
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: forbid-new-submodules
- id: end-of-file-fixer
Expand All @@ -25,12 +25,12 @@ repos:

# Autoformat: Python code
- repo: https://github.com/psf/black
rev: 24.4.2
rev: 24.10.0
hooks:
- id: black

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.7
rev: v0.8.1
hooks:
- id: ruff
args: ['--fix']
Expand Down
1 change: 0 additions & 1 deletion notebooks/bokeh.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@
"metadata": {},
"outputs": [],
"source": [
"import os\n",
"from urllib.parse import urlparse\n",
"\n",
"url = urlparse(os.environ.get(\"VOILA_REQUEST_URL\"))\n",
Expand Down
1 change: 0 additions & 1 deletion notebooks/dashboard.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@
"source": [
"import numpy as np\n",
"from bqplot import pyplot as plt\n",
"import bqplot\n",
"\n",
"fig = plt.figure( title='Line Chart')\n",
"np.random.seed(0)\n",
Expand Down
1 change: 0 additions & 1 deletion notebooks/ipympl.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"outputs": [],
"source": [
"%matplotlib widget\n",
"import ipympl\n",
"\n",
"import numpy as np\n",
"import matplotlib.pyplot as plt\n",
Expand Down
3 changes: 1 addition & 2 deletions notebooks/mimerenderers.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"source": [
"from IPython.display import display\n",
"from IPython.display import (\n",
" HTML, Image, Latex, Math, Markdown, SVG\n",
" HTML, Image, Latex, Markdown, SVG\n",
")"
]
},
Expand Down Expand Up @@ -283,7 +283,6 @@
"outputs": [],
"source": [
"from IPython.display import display\n",
"import pandas as pd\n",
"\n",
"def Vega(spec):\n",
" bundle = {}\n",
Expand Down
3 changes: 1 addition & 2 deletions notebooks/yaml.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
"metadata": {},
"outputs": [],
"source": [
"from IPython.display import Markdown, clear_output\n",
"from ipywidgets import ToggleButton, Output\n",
"from IPython.display import Markdown\n",
"import json\n",
"import yaml\n",
"\n",
Expand Down
Loading