This repository was archived by the owner on Apr 26, 2024. It is now read-only.
File tree 2 files changed +2
-6
lines changed
2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -219,9 +219,7 @@ def _prepare() -> None:
219
219
update_branch (repo )
220
220
221
221
# Create the new release branch
222
- # Type ignore will no longer be needed after GitPython 3.1.28.
223
- # See https://github.com/gitpython-developers/GitPython/pull/1419
224
- repo .create_head (release_branch_name , commit = base_branch ) # type: ignore[arg-type]
222
+ repo .create_head (release_branch_name , commit = base_branch )
225
223
226
224
# Special-case SyTest: we don't actually prepare any files so we may
227
225
# as well push it now (and only when we create a release branch;
Original file line number Diff line number Diff line change @@ -45,9 +45,7 @@ def get_sources(self) -> Iterator[Tuple[str, EventSource]]:
45
45
class EventSources :
46
46
def __init__ (self , hs : "HomeServer" ):
47
47
self .sources = _EventSourcesInner (
48
- # mypy thinks attribute.type is `Optional`, but we know it's never `None` here since
49
- # all the attributes of `_EventSourcesInner` are annotated.
50
- * (attribute .type (hs ) for attribute in attr .fields (_EventSourcesInner )) # type: ignore[misc]
48
+ * (attribute .type (hs ) for attribute in attr .fields (_EventSourcesInner ))
51
49
)
52
50
self .store = hs .get_datastores ().main
53
51
You can’t perform that action at this time.
0 commit comments