Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 15, 2024
1 parent 418cc2a commit e3e89d1
Show file tree
Hide file tree
Showing 3 changed files with 3 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 @@ -66,7 +66,7 @@

def get_config_path():
"""Returns path to .aiida configuration directory."""
from .settings import glb_aiida_config_folder, DEFAULT_CONFIG_FILE_NAME
from .settings import DEFAULT_CONFIG_FILE_NAME, glb_aiida_config_folder

return os.path.join(glb_aiida_config_folder, DEFAULT_CONFIG_FILE_NAME)

Expand Down
2 changes: 1 addition & 1 deletion src/aiida/manage/configuration/profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

from __future__ import annotations

from collections import abc
import os
import pathlib
from collections import abc
from copy import deepcopy
from typing import TYPE_CHECKING, Any, Dict, Literal, Mapping, Optional, Type

Expand Down
1 change: 1 addition & 0 deletions src/aiida/manage/configuration/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
# DAEMON_LOG_DIR: pathlib.Path = DAEMON_DIR / DEFAULT_DAEMON_LOG_DIR_NAME
# ACCESS_CONTROL_DIR: pathlib.Path = glb_aiida_config_folder / DEFAULT_ACCESS_CONTROL_DIR_NAME


@final
class AiiDAConfigPathResolver:
"""Path resolver for getting daemon dir, daemon log dir ad access control dir location.
Expand Down

0 comments on commit e3e89d1

Please sign in to comment.