tools/osbuild-depsolve-dnf: type annotation
Silence the mypy linter.
This commit is contained in:
parent
dbe7039674
commit
06c8aca871
1 changed files with 2 additions and 1 deletions
|
|
@ -12,6 +12,7 @@ import os
|
|||
import sys
|
||||
import tempfile
|
||||
from datetime import datetime
|
||||
from typing import List
|
||||
|
||||
import dnf
|
||||
import hawkey
|
||||
|
|
@ -204,7 +205,7 @@ class Solver():
|
|||
return packages
|
||||
|
||||
def depsolve(self, transactions):
|
||||
last_transaction = []
|
||||
last_transaction: List = []
|
||||
|
||||
for transaction in transactions:
|
||||
self.base.reset(goal=True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue