diff options
author | Daniƫl van Noord <13665637+DanielNoord@users.noreply.github.com> | 2022-09-04 13:04:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-04 13:04:45 +0200 |
commit | c2989ad5c71b3e1be0f0a7e5297f9b7e47fa2766 (patch) | |
tree | 89f867543fdf13470f0dddfc509686fe137c60a8 /pylint/pyreverse | |
parent | cd7761d4fcdf1d6d3ad19b34a426a7033b41cc1a (diff) | |
download | pylint-git-c2989ad5c71b3e1be0f0a7e5297f9b7e47fa2766.tar.gz |
Complete typing of all generic types (#7406)
And update ``mypy`` configuration
Diffstat (limited to 'pylint/pyreverse')
-rw-r--r-- | pylint/pyreverse/vcg_printer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pylint/pyreverse/vcg_printer.py b/pylint/pyreverse/vcg_printer.py index ec7152baa..fe94edab4 100644 --- a/pylint/pyreverse/vcg_printer.py +++ b/pylint/pyreverse/vcg_printer.py @@ -154,7 +154,7 @@ SHAPES: dict[NodeType, str] = { NodeType.CLASS: "box", NodeType.INTERFACE: "ellipse", } -ARROWS: dict[EdgeType, dict] = { +ARROWS: dict[EdgeType, dict[str, str | int]] = { EdgeType.USES: dict(arrowstyle="solid", backarrowstyle="none", backarrowsize=0), EdgeType.INHERITS: dict( arrowstyle="solid", backarrowstyle="none", backarrowsize=10 |