We might want to reconsider these:
|
for unknown in unknown_args: |
|
print( # noqa |
|
f"Warning: Unexpected command-line argument {unknown} found.", |
|
file=sys.stderr, |
|
) |
It's entirely possible someone is doing argument parsing by themselves, so these don't help.