From 87db76d48923e87a5b0ecdb5e00a38fa7abd7357 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 20 Nov 2024 00:04:10 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/aiida/__init__.py | 1 + tests/manage/test_caching_config.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aiida/__init__.py b/src/aiida/__init__.py index 281047e56..4927ded76 100644 --- a/src/aiida/__init__.py +++ b/src/aiida/__init__.py @@ -39,6 +39,7 @@ # Initialize the configuration directory settings AiiDAConfigPathResolver.set_configuration_directory() + def get_strict_version(): """Return a distutils StrictVersion instance with the current distribution version diff --git a/tests/manage/test_caching_config.py b/tests/manage/test_caching_config.py index 21cb504c2..96461d916 100644 --- a/tests/manage/test_caching_config.py +++ b/tests/manage/test_caching_config.py @@ -48,7 +48,6 @@ def test_merge_deprecated_yaml(tmp_path): from aiida.manage.configuration import get_config_option, load_profile from aiida.manage.configuration.settings import AiiDAConfigPathResolver - # Store the current configuration instance and config directory path current_config = configuration.CONFIG current_config_path = pathlib.Path(current_config.dirpath)