We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25e76d1 commit e4dc4eaCopy full SHA for e4dc4ea
1 file changed
mkosi/config.py
@@ -4721,7 +4721,7 @@ def create_argument_parser(chdir: bool = True) -> argparse.ArgumentParser:
4721
last_section = s.section
4722
4723
if s.short and s.const is not None:
4724
- group.add_argument( # type: ignore # needed by pyright
+ group.add_argument( # pyright: ignore
4725
s.short,
4726
metavar="",
4727
dest=s.dest,
@@ -4734,7 +4734,7 @@ def create_argument_parser(chdir: bool = True) -> argparse.ArgumentParser:
4734
for long in [s.long, *s.compat_longs]:
4735
opts = [s.short, long] if s.short and long == s.long and s.const is None else [long]
4736
4737
4738
*opts,
4739
4740
choices=s.choices,
0 commit comments