Skip to content

Commit

Permalink
Upgrade mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Coolbeth committed Feb 14, 2024
1 parent 985afed commit 5adf61e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ docs = ["Sphinx", "sphinx-rtd-theme", "nbsphinx", "recommonmark", "pandoc", "mat

[tool.poetry.group.dev.dependencies]
setuptools = {version = "^69.0.2", python = ">=3.12"}
mypy = "^1.8.0"

[tool.ruff]
line-length = 120
Expand Down
4 changes: 2 additions & 2 deletions pyquil/external/rpcq.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
from rpcq.messages import TargetDevice as TargetQuantumProcessor
from dataclasses import dataclass, field

#JsonValue = Union[type(None), bool, int, float, str, list["JsonValue"], dict[str, "JsonValue"]]
JsonValue = Any
JsonValue = Union[type(None), bool, int, float, str, List["JsonValue"], Dict[str, "JsonValue"]]
#JsonValue = Any

@dataclass
class Operator:
Expand Down

0 comments on commit 5adf61e

Please sign in to comment.