* drop python<=3.7 support
Filter all python code over `pyupgrade --py38-plus`.
Signed-off-by: Tomasz Kłoczko <kloczek@github.com>
* filter all code over `ruff` as well
Signed-off-by: Tomasz Kłoczko <kloczek@github.com>
---------
Signed-off-by: Tomasz Kłoczko <kloczek@github.com>
The newer Ubuntu since 20.04 do not have the `python` binary.
There one explicitly needs to choose between `python2` or `python3`.
See also:
https://askubuntu.com/q/1296790/141958
This change allows to use the generate_nodeid_header script to create a
header file which contains defines for custom nodesets as shown in the
example.