File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ class BackendBase:
154
154
"""
155
155
Common abstract base backend for all assigner backends (gitlab or mock).
156
156
"""
157
- repo : RepoBase = RepoBase
158
- template_repo : TemplateRepoBase = TemplateRepoBase
159
- student_repo : StudentRepoBase = StudentRepoBase
157
+ repo = RepoBase # type: RepoBase
158
+ template_repo = TemplateRepoBase # type: TemplateRepoBase
159
+ student_repo = StudentRepoBase # type: StudentRepoBase
160
160
access = None
Original file line number Diff line number Diff line change @@ -469,7 +469,7 @@ class GitlabBackend(BackendBase):
469
469
"""
470
470
Common abstract base backend for all assigner backends (gitlab or mock).
471
471
"""
472
- repo : RepoBase = GitlabRepo
473
- template_repo : TemplateRepoBase = GitlabTemplateRepo
474
- student_repo : StudentRepoBase = GitlabStudentRepo
472
+ repo = GitlabRepo # type: RepoBase
473
+ template_repo = GitlabTemplateRepo # type: TemplateRepoBase
474
+ student_repo = GitlabStudentRepo # type: StudentRepoBase
475
475
access = Access
Original file line number Diff line number Diff line change @@ -265,6 +265,6 @@ class MockBackend(BackendBase):
265
265
"""
266
266
Common abstract base backend for all assigner backends (gitlab or mock).
267
267
"""
268
- repo : RepoBase = MockRepo
269
- template_repo : TemplateRepoBase = MockTemplateRepo
270
- student_repo : StudentRepoBase = MockStudentRepo
268
+ repo = MockRepo # type: RepoBase
269
+ template_repo = MockTemplateRepo # type: TemplateRepoBase
270
+ student_repo = MockStudentRepo # type: StudentRepoBase
You can’t perform that action at this time.
0 commit comments