From 4bf085267e5c5ccfdfccf5dc0d025f166c846048 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 6 Mar 2024 21:10:04 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- docs/conf.py | 24 ++++++++++-------------- src/pawian/latex.py | 1 - 2 files changed, 10 insertions(+), 15 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 3fed0ba..66a2379 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -15,14 +15,12 @@ set_intersphinx_version_remapping, ) -set_intersphinx_version_remapping( - { - "ipython": { - "8.12.2": "8.12.1", - "8.12.3": "8.12.1", - }, - } -) +set_intersphinx_version_remapping({ + "ipython": { + "8.12.2": "8.12.1", + "8.12.3": "8.12.1", + }, +}) BRANCH = get_branch_name() ORGANIZATION = "redeboer" @@ -47,12 +45,10 @@ "members": True, "undoc-members": True, "show-inheritance": True, - "special-members": ", ".join( - [ - "__call__", - "__eq__", - ] - ), + "special-members": ", ".join([ + "__call__", + "__eq__", + ]), } autodoc_member_order = "bysource" autodoc_typehints_format = "short" diff --git a/src/pawian/latex.py b/src/pawian/latex.py index bf52390..93c9d77 100644 --- a/src/pawian/latex.py +++ b/src/pawian/latex.py @@ -2,7 +2,6 @@ """Functions that help converting strings to LaTeX syntax.""" - import re # regex __PARTICLES = ["D", "pi", "pion", "eta", "rho"]