Date
1 - 1 of 1
RFC: treewide change of python argparse abbreviation support
McCrae, Jamie
Hi,
I have submitted an RFC for a treewide zephyr change relating to the argparse library in python scripts to disallow automatic argument abbreviation, there are details as to this issue provided on https://github.com/zephyrproject-rtos/zephyr/issues/53495 and
a PR for zephyr on https://github.com/zephyrproject-rtos/zephyr/pull/53498
If you are a maintainer of a zephyr module, you might want to check for this issue in those repositories, if you search for `.ArgumentParser(` and have matches then these can be updated by adding `allow_abbrev=False`
to the list of function parameters, any invocations of these scripts might also need updating if e.g. a command in a python file was `--saml-file` and it is wrongly being called as `--saml` somewhere.
This will need discussed in the architecture working group next week.
Thanks,
Jamie
|
|