From 59920a7458c210c0a9d150e271b169083137be43 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 19 Aug 2024 20:37:03 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.5.7 → v0.6.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.5.7...v0.6.1) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ac6e07a..70393e0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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] From 08dd041f2b96ef34669c2518033eb8721f95a096 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 19 Aug 2024 20:37:34 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tests/files/nb0.ipynb | 84 ++++++++++++++++--------------- tests/files/plotly_renderer.ipynb | 6 +-- 2 files changed, 45 insertions(+), 45 deletions(-) diff --git a/tests/files/nb0.ipynb b/tests/files/nb0.ipynb index 2bd951e..b8c0b85 100644 --- a/tests/files/nb0.ipynb +++ b/tests/files/nb0.ipynb @@ -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 } diff --git a/tests/files/plotly_renderer.ipynb b/tests/files/plotly_renderer.ipynb index ed37f82..bd2a650 100644 --- a/tests/files/plotly_renderer.ipynb +++ b/tests/files/plotly_renderer.ipynb @@ -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()" ] }