Skip to content

Commit 4d13842

Browse files
committed
fixups
1 parent b9ec5dd commit 4d13842

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ ignore_missing_imports = True
4040
disallow_untyped_defs = True
4141
disallow_any_generics = True
4242
warn_unused_ignores = True
43+
no_implicit_optional = True
4344

4445
[mypy-pip._vendor.*]
4546
ignore_errors = True

src/pip/_internal/utils/hashes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import hashlib
2-
from typing import TYPE_CHECKING, BinaryIO, Dict, Iterable, List
2+
from typing import TYPE_CHECKING, BinaryIO, Dict, Iterable, List, Optional
33

44
from pip._internal.exceptions import HashMismatch, HashMissing, InstallationError
55
from pip._internal.utils.misc import read_chunks

0 commit comments

Comments
 (0)