Remove unneeded None annotation from Bootloader.get_default (#3680)

This commit is contained in:
correctmost 2025-07-23 14:00:21 -04:00 committed by GitHub
parent 5355c7141a
commit b77a43b201
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ class Bootloader(Enum):
return [e.value for e in Bootloader if e != Bootloader.NO_BOOTLOADER or arch_config_handler.args.skip_boot is True]
@classmethod
def get_default(cls) -> None | Bootloader:
def get_default(cls) -> Bootloader:
from ..args import arch_config_handler
if arch_config_handler.args.skip_boot: