From b2555dde98a4d88e3d9373119f484a82551ac116 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 7 Mar 2024 09:33:44 +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"]