Skip to content

Commit 3c0dc58

Browse files
committed
Remove two outdated type ignore comments
1 parent 10302fc commit 3c0dc58

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

github/github.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ def iteratively_query_github(
186186
while True:
187187
if response is not None:
188188
# it means this is not the first iter
189-
if "link" not in response.headers: # type: ignore[unreachable]
189+
if "link" not in response.headers:
190190
break
191191

192192
# following next link

gitlab/gitlab.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ def iteratively_query_gitlab(api_url_template, gitlab_repo, url_params={}, query
206206
while True:
207207
if response is not None:
208208
# it means this is not the first iter
209-
if "link" not in response.headers: # type: ignore[unreachable]
209+
if "link" not in response.headers:
210210
break
211211

212212
# following next link

0 commit comments

Comments
 (0)