from pathlib import Path
import json


def read_config() -> dict:
    """Read the configuration file and return its contents."""
    with open(Path("../config.json")) as f:
        return json.load(f)