Skip to content

Commit 08671da

Browse files
update packages for dependabot (#88)
* update urllib3, cryptography and jinja2 * upgrade crytography to 42.0.2 * update lock and black * update lock
1 parent 1875134 commit 08671da

File tree

5 files changed

+103
-105
lines changed

5 files changed

+103
-105
lines changed

oqpy/base.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -338,8 +338,7 @@ def expr_matches(a: Any, b: Any) -> bool:
338338
class ExpressionConvertible(Protocol):
339339
"""This is the protocol an object can implement in order to be usable as an expression."""
340340

341-
def _to_oqpy_expression(self) -> HasToAst:
342-
... # pragma: no cover
341+
def _to_oqpy_expression(self) -> HasToAst: ... # pragma: no cover
343342

344343

345344
@runtime_checkable
@@ -355,8 +354,7 @@ class CachedExpressionConvertible(Protocol):
355354

356355
_oqpy_cache_key: Hashable
357356

358-
def _to_cached_oqpy_expression(self) -> HasToAst:
359-
... # pragma: no cover
357+
def _to_cached_oqpy_expression(self) -> HasToAst: ... # pragma: no cover
360358

361359

362360
class OQPyUnaryExpression(OQPyExpression):

oqpy/control_flow.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,7 @@ def ForIn(
8585
program: Program,
8686
iterator: Iterable[AstConvertible] | range | AstConvertible,
8787
identifier_name: Optional[str],
88-
) -> contextlib._GeneratorContextManager[IntVar]:
89-
... # pragma: no cover
88+
) -> contextlib._GeneratorContextManager[IntVar]: ... # pragma: no cover
9089

9190

9291
@overload
@@ -95,8 +94,7 @@ def ForIn(
9594
iterator: Iterable[AstConvertible] | range | AstConvertible,
9695
identifier_name: Optional[str],
9796
identifier_type: type[ClassicalVarT],
98-
) -> contextlib._GeneratorContextManager[ClassicalVarT]:
99-
... # pragma: no cover
97+
) -> contextlib._GeneratorContextManager[ClassicalVarT]: ... # pragma: no cover
10098

10199

102100
@contextlib.contextmanager

0 commit comments

Comments
 (0)