mirror of
https://github.com/Redume/Kekkai.git
synced 2025-02-23 20:51:25 +03:00
chore(chart): I put pylint ignore where it's needed. Fixed an error with arguments, paths of imports of local modules
Some checks failed
Create and publish a Docker image / build-and-push-server (push) Has been cancelled
Create and publish a Docker image / build-and-push-chart (push) Has been cancelled
Create and publish a Docker image / build-and-push-CR (push) Has been cancelled
Deploy docs / deploy (push) Has been cancelled
Some checks failed
Create and publish a Docker image / build-and-push-server (push) Has been cancelled
Create and publish a Docker image / build-and-push-chart (push) Has been cancelled
Create and publish a Docker image / build-and-push-CR (push) Has been cancelled
Deploy docs / deploy (push) Has been cancelled
This commit is contained in:
parent
e51aa5e00c
commit
6ff258799d
3 changed files with 8 additions and 17 deletions
|
@ -1,3 +1,4 @@
|
|||
# pylint: disable=R0801
|
||||
"""
|
||||
This module provides a function for loading a YAML configuration file.
|
||||
The function reads the file content and returns it as a Python dictionary.
|
||||
|
@ -17,5 +18,3 @@ def load_config(file_path: str) -> dict:
|
|||
"""
|
||||
with open(file_path, 'r', encoding='utf-8') as file:
|
||||
return yaml.safe_load(file)
|
||||
|
||||
config = load_config('config.yaml')
|
||||
|
|
Loading…
Add table
Reference in a new issue