Skip to content

Commit

Permalink
Use type hint not only in a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
marmarek committed Oct 11, 2023
1 parent ff5d235 commit 7b8e09b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qubes/devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ def persistent(self):
'''
return [a.device for a in self._set]

def assignments(self, persistent=None):
def assignments(self, persistent: Optional[bool]=None):
'''List assignments for devices which are (or may be) attached to the
vm.
Expand Down

0 comments on commit 7b8e09b

Please sign in to comment.