summaryrefslogtreecommitdiff
path: root/bin/bootstrap.py
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2023-06-26 08:44:26 +0200
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2023-08-29 17:18:25 +0200
commit82e01709b6dc9e457001b15730b5014b4184c106 (patch)
tree4091b29127f3bbb61bd060b3b42658c805424971 /bin/bootstrap.py
parent53ba5581070bc8914a35a5e16af901c562923e61 (diff)
downloadjustbuild-82e01709b6dc9e457001b15730b5014b4184c106.tar.gz
just-mr.py: Add type hints, fix style, and improve readability
For maximum compatibility, we use the uppercase types from the typing package instead of the built-in types, therefore compliant with PEP 484 and PEP 526. As unfortunately there is no proper JSON typing option that requires many casts, we use a more lax typing for JSON inputs, but enforce return types in order to implicitly infer the actual format of an input JSON variable (dict, list, string etc.).
Diffstat (limited to 'bin/bootstrap.py')
0 files changed, 0 insertions, 0 deletions