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] 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()" ] }