Skip to content

Commit

Permalink
rdh
Browse files Browse the repository at this point in the history
  • Loading branch information
unkcpz committed Nov 22, 2024
1 parent 6cef555 commit b5cb0d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/aiida/manage/configuration/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

from __future__ import annotations

from aiida.manage.configuration.settings import AiiDAConfigDir

# AUTO-GENERATED
# fmt: off
Expand Down Expand Up @@ -69,6 +68,7 @@
def get_config_path():
"""Returns path to aiida configuration file."""
from .settings import DEFAULT_CONFIG_FILE_NAME
from aiida.manage.configuration.settings import AiiDAConfigDir

return os.path.join(AiiDAConfigDir.get_configuration_directory(), DEFAULT_CONFIG_FILE_NAME)

Expand Down
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
from aiida.common.folders import Folder
from aiida.common.links import LinkType
from aiida.manage.configuration import Profile, get_config, load_profile
from aiida.manage.configuration.settings import AiiDAConfigDir

if t.TYPE_CHECKING:
from aiida.manage.configuration.config import Config
Expand Down Expand Up @@ -330,6 +329,7 @@ def empty_config(tmp_path) -> Config:
"""
from aiida.common.utils import Capturing
from aiida.manage import configuration, get_manager
from aiida.manage.configuration.settings import AiiDAConfigDir

manager = get_manager()

Expand Down

0 comments on commit b5cb0d7

Please sign in to comment.