Skip to content

Commit 2a85211

Browse files
committed
chore(types) Fix aafig mypy error
docs/_ext/aafig.py:88: error: Argument 1 to "update" of "MutableMapping" has incompatible type "dict[str, object]"; expected "SupportsKeysAndGetItem[str, Callable[[str], Any]]" [arg-type]
1 parent 002fb6d commit 2a85211

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/_ext/aafig.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class AafigDirective(images.Image):
7373

7474
has_content = True
7575
required_arguments = 0
76-
own_option_spec: t.ClassVar = {
76+
own_option_spec: t.ClassVar[dict[str, t.Callable[[str], t.Any]]] = {
7777
"line_width": float,
7878
"background": str,
7979
"foreground": str,

0 commit comments

Comments
 (0)