diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2023-06-26 10:48:44 +0200 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2023-08-29 17:18:41 +0200 |
commit | cc410b618005a66424a17f30c26c947729c09d20 (patch) | |
tree | 64ef077eb7a6d32e75cfe4b3a92f9ae79f4ee195 /bin/bootstrap.py | |
parent | 9385aabd578034d0cc3535275209fce907a71c8a (diff) | |
download | justbuild-cc410b618005a66424a17f30c26c947729c09d20.tar.gz |
parallel-bootstrap-traverser.py: Add type hints and fix style
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