Skip to content

Commit

Permalink
MAINT: remove attrs.resolve_types altogether
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer committed Mar 3, 2024
1 parent d9a929d commit 625719e
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/qrules/transition.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,6 @@ def extend(
self.execution_info.extend(other.execution_info, intersect_violations)


if sys.version_info >= (3, 10):
attrs.resolve_types(_SolutionContainer, globals(), locals()) # type: ignore[type-var]


@implement_pretty_repr
@define
class ProblemSet:
Expand Down Expand Up @@ -199,10 +195,6 @@ def to_qn_problem_set(self) -> QNProblemSet:
)


if sys.version_info >= (3, 10):
attrs.resolve_types(ProblemSet, globals(), locals()) # type: ignore[type-var]


def _group_by_strength(
problem_sets: list[ProblemSet],
) -> dict[float, list[ProblemSet]]:
Expand Down

0 comments on commit 625719e

Please sign in to comment.