Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/git_autograder/exercise.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def __init__(
# is the purpose of handling the exception where we can display an error on
# their end.
self.repo: GitAutograderRepoBase
if self.config.exercise_repo.repo_type == "ignore":
if self.config.exercise_repo.repo_type == "ignore" or self.config.exercise_repo.repo_type == "local-ignore":
self.repo = NullGitAutograderRepo()
else:
self.repo = GitAutograderRepo(
Expand Down
2 changes: 1 addition & 1 deletion src/git_autograder/exercise_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
class ExerciseConfig:
@dataclass
class ExerciseRepoConfig:
repo_type: Literal["local", "remote", "ignore"]
repo_type: Literal["local", "remote", "ignore", "local-ignore"]
repo_name: str
repo_title: Optional[str]
create_fork: Optional[bool]
Expand Down
Loading