summaryrefslogtreecommitdiff
path: root/test/utils/remote_execution/test_runner.py
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2023-06-26 11:56:07 +0200
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2023-08-29 17:19:00 +0200
commit0d8aeb4655446d05ecbb3fc3336ebe02741e91bf (patch)
treee381bd76932c8b0f56e1efbba5d28e202619c772 /test/utils/remote_execution/test_runner.py
parent0e17643a522756caa78c4ddf7226c77c66185c03 (diff)
downloadjustbuild-0d8aeb4655446d05ecbb3fc3336ebe02741e91bf.tar.gz
just-import-git.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 'test/utils/remote_execution/test_runner.py')
0 files changed, 0 insertions, 0 deletions