Skip to content

Commit 54d6d5d

Browse files
committed
Remove type ignore (released upstream -- typeshed)
1 parent 43d9928 commit 54d6d5d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ repos:
3838
rev: v1.14.1
3939
hooks:
4040
- id: mypy
41-
additional_dependencies: [types-docutils, types-polib, types-requests]
41+
additional_dependencies: [types-docutils, types-polib>=1.2.0.20250114, types-requests]
4242

4343
ci:
4444
autoupdate_schedule: quarterly

translators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def get_number_from_git_history(path: Path) -> int:
1818
def yield_from_headers(path: Path) -> Iterator[str]:
1919
for file in path.rglob('*.po'):
2020
try:
21-
header = pofile(file).header.splitlines() # type: ignore[call-overload] # https://github.com/python/typeshed/pull/13396
21+
header = pofile(file).header.splitlines()
2222
except IOError:
2323
continue
2424
if 'Translators:' not in header:

0 commit comments

Comments
 (0)