8000 TYP: work around mypy limitation · timhoffm/matplotlib@5d0adf1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5d0adf1

Browse files
committed
TYP: work around mypy limitation
1 parent a18e072 commit 5d0adf1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/matplotlib/dviread.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ class TexMetrics:
7474
tex_width: int
7575
tex_height: int
7676
tex_depth: int
77+
# work around mypy not respecting kw_only=True in stub files
78+
__match_args__ = ()
7779

7880
class Tfm:
7981
checksum: int

0 commit comments

Comments
 (0)
0