# AUTOGENERATED! DO NOT EDIT! File to edit: ../../pts/mod/const.pct.py.

# %% auto 0
__all__ = ['pkg_path', 'DEFAULT_CONFIG_PATH', 'DEFAULT_DATA_PATH', 'DEFAULT_USER_REPOS_PATH', 'DEFAULT_USER_REPO_GROUPS_PATH',
           'REPO_METAFILE_REL_PATH', 'REPO_CONF_REL_PATH', 'REPO_DATA_REL_PATH', 'DEFAULT_FAKE_STORE_REL_PATH',
           'DEFAULT_REPOYARD_EXCLUDE', 'ENV_VAR_REPOYARD_CONFIG_PATH', 'StrictModel']

# %% ../../pts/mod/const.pct.py 3
from pathlib import Path
import inspect
from pydantic import BaseModel, ConfigDict
import repoyard as proj

# %% ../../pts/mod/const.pct.py 4
pkg_path = Path(proj.__file__).parent

# %% ../../pts/mod/const.pct.py 6
DEFAULT_CONFIG_PATH = Path("~") / ".config" / "repoyard" / "config.json"
DEFAULT_DATA_PATH = Path("~") / ".repoyard"
DEFAULT_USER_REPOS_PATH = Path("~") / "repos"
DEFAULT_USER_REPO_GROUPS_PATH = Path("~") / "repo_groups"

REPO_METAFILE_REL_PATH = "repometa.toml"
REPO_CONF_REL_PATH = "conf"
REPO_DATA_REL_PATH = "data"

DEFAULT_FAKE_STORE_REL_PATH = "fake_store"

# %% ../../pts/mod/const.pct.py 7
DEFAULT_REPOYARD_EXCLUDE = inspect.cleandoc("""
.venv/
node_modules/
__pycache__/
""")

# %% ../../pts/mod/const.pct.py 9
ENV_VAR_REPOYARD_CONFIG_PATH = "REPOYARD_CONFIG_PATH"

# %% ../../pts/mod/const.pct.py 11
class StrictModel(BaseModel):
    model_config = ConfigDict(extra="forbid")
