Skip to content

Commit

Permalink
add missing type annotation for mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
dhellmann committed Nov 1, 2024
1 parent 2d9f634 commit 5a04167
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fromager/resolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def default_resolver_provider(
def resolve_from_provider(
provider: BaseProvider, req: Requirement
) -> tuple[str, Version]:
reporter = resolvelib.BaseReporter()
reporter: resolvelib.BaseReporter = resolvelib.BaseReporter()
rslvr: resolvelib.Resolver = resolvelib.Resolver(provider, reporter)
try:
result = rslvr.resolve([req])
Expand Down

0 comments on commit 5a04167

Please sign in to comment.