-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Workers and manager to handle GitHub check runs
- Loading branch information
Showing
15 changed files
with
1,678 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
"""Models related to GitHub repos for the GitHub CI app functionality.""" | ||
|
||
from pathlib import Path | ||
|
||
from pydantic import BaseModel, ConfigDict, Field | ||
|
||
|
||
class RepoConfig(BaseModel): | ||
"""In-repo configuration for mobu behavior. | ||
This can be placed into a yaml file in the root of a repo to configure | ||
certain mobu behavior. | ||
""" | ||
|
||
exclude_dirs: set[Path] = Field( | ||
set(), | ||
title="Any notebooks in these directories will not be run", | ||
description=( | ||
" These directories are relative to the repo root. Any notebooks" | ||
" in child directories of these directories will also be excluded." | ||
), | ||
examples=["some-dir", "some-dir/some-other-dir"], | ||
) | ||
|
||
model_config = ConfigDict(extra="forbid") |
Empty file.
Oops, something went wrong.