Config#

pydantic settings neophile.config.Config#

Configuration for neophile.

Parameters:
Fields:
field github_email: Optional[str] = None#

Email address to use for GitHub commits

field github_token: SecretStr = SecretStr('')#

GitHub token for creating pull requests

Constraints:
  • type = string

  • writeOnly = True

  • format = password

field github_user: str = ''#

GitHub user for creating pull requests

field repositories: list[GitHubRepository] [Optional]#

List of repositories to check

field work_area: Path [Optional]#

Path to a writable working directory

classmethod from_file(path)#

Initialize the configuration from a file.

Parameters:

path (Path) – Path to a configuration file in YAML format.

Returns:

The configuration.

Return type:

Config