mypy: Remove unnecessary type: ignore annotations.

Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
Anders Kaseorg
2020-04-21 18:51:22 -07:00
committed by Tim Abbott
parent 00091c34c0
commit 029bfb9fee
4 changed files with 5 additions and 5 deletions

View File

@@ -43,7 +43,7 @@ def overwrite_symlink(src: str, dst: str) -> None:
while True:
tmp = tempfile.mktemp(
prefix='.' + os.path.basename(dst) + '.',
dir=os.path.dirname(dst)) # type: ignore # https://github.com/python/typeshed/issues/3449
dir=os.path.dirname(dst))
try:
os.symlink(src, tmp)
except FileExistsError: