From b2dd002101f94beaf2337783672e5ba8384e2e8f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 1 Apr 2024 22:43:26 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- conftest.py | 1 + docs/source/conf.py | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/conftest.py b/conftest.py index fd00978..d724d92 100644 --- a/conftest.py +++ b/conftest.py @@ -1,4 +1,5 @@ """For pytest initialise a test database and profile.""" + import pytest pytest_plugins = ["aiida.manage.tests.pytest_fixtures"] diff --git a/docs/source/conf.py b/docs/source/conf.py index deed168..b3fbe1a 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -305,9 +305,9 @@ def run_apidoc(_): # See https://stackoverflow.com/a/30144019 env = os.environ.copy() - env[ - "SPHINX_APIDOC_OPTIONS" - ] = "members,special-members,private-members,undoc-members,show-inheritance" + env["SPHINX_APIDOC_OPTIONS"] = ( + "members,special-members,private-members,undoc-members,show-inheritance" + ) subprocess.check_call([cmd_path] + options, env=env)