Skip to content

Commit

Permalink
Merge pull request #648 from maresb/fix-mypy
Browse files Browse the repository at this point in the history
Fix failing mypy check
  • Loading branch information
maresb authored Jun 13, 2024
2 parents 51e030d + 666fd32 commit b8f9595
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_pip_repositories.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ def _make_response(
def _parse_auth(request: requests.Request) -> Tuple[str, str]:
url = urlparse(request.url)
if url.username:
assert url.password is not None
return url.username, url.password
header = request.headers.get("Authorization")
if not header or not header.startswith("Basic"):
Expand Down

0 comments on commit b8f9595

Please sign in to comment.