Skip to content

Commit

Permalink
Add missing mypy dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
aborgna-q committed Jan 18, 2024
1 parent df9dd40 commit 4f9763c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ repos:
- id: mypy
pass_filenames: false
args: [--package=guppylang]
additional_dependencies: [ormsgpack, pydantic]
additional_dependencies: [ormsgpack, pydantic, graphviz, networkx]

- repo: local
hooks:
Expand Down
2 changes: 1 addition & 1 deletion guppylang/hugr/hugr.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from dataclasses import dataclass, field
from typing import Any, Optional

import networkx as nx # type: ignore[import-not-found]
import networkx as nx # type: ignore[import-untyped]

import guppylang.hugr.ops as ops
import guppylang.hugr.raw as raw
Expand Down
2 changes: 1 addition & 1 deletion guppylang/hugr/visualise.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from collections.abc import Iterable
from typing import TYPE_CHECKING

import graphviz as gv # type: ignore[import-not-found]
import graphviz as gv # type: ignore[import-untyped]

from guppylang.cfg.analysis import (
DefAssignmentDomain,
Expand Down

0 comments on commit 4f9763c

Please sign in to comment.