onnxruntime/tools/python
Justin Chu d64769c38e
Set black's target version (#11370)
Description: Set black's target version to be py37 - py310

Motivation and Context

Black by default targets its format for py3.10. Since our project supports python 3.7, we need to target version to all the python versions supported.

Re-ran black. 13 files reformatted.
2022-04-27 14:52:19 -07:00
..
util Set black's target version (#11370) 2022-04-27 14:52:19 -07:00
__init__.py Add a couple of utility scripts to tools/python (#3621) 2020-05-02 17:35:43 +10:00
check_onnx_model_mobile_usability.py Format all python files under onnxruntime with black and isort (#11324) 2022-04-26 09:35:16 -07:00
convert_onnx_models_to_ort.py Format all python files under onnxruntime with black and isort (#11324) 2022-04-26 09:35:16 -07:00
create_reduced_build_config.py Format all python files under onnxruntime with black and isort (#11324) 2022-04-26 09:35:16 -07:00
dump_ort_model.py Format all python files under onnxruntime with black and isort (#11324) 2022-04-26 09:35:16 -07:00
dump_subgraphs.py Format all python files under onnxruntime with black and isort (#11324) 2022-04-26 09:35:16 -07:00
example_operator_perf_test.py Format all python files under onnxruntime with black and isort (#11324) 2022-04-26 09:35:16 -07:00
FindOptimizerOpsetVersionUpdatesRequired.py Format all python files under onnxruntime with black and isort (#11324) 2022-04-26 09:35:16 -07:00
gen_contrib_doc.py Format all python files under onnxruntime with black and isort (#11324) 2022-04-26 09:35:16 -07:00
gen_opkernel_doc.py Format all python files under onnxruntime with black and isort (#11324) 2022-04-26 09:35:16 -07:00
gen_ort_mobile_pkg_doc.py Format all python files under onnxruntime with black and isort (#11324) 2022-04-26 09:35:16 -07:00
get_submodules.py Format all python files under onnxruntime with black and isort (#11324) 2022-04-26 09:35:16 -07:00
onnx_test_data_utils.py Format all python files under onnxruntime with black and isort (#11324) 2022-04-26 09:35:16 -07:00
ort_test_dir_utils.py Format all python files under onnxruntime with black and isort (#11324) 2022-04-26 09:35:16 -07:00
PythonTools.md Maintain aspect ratio by doing resize + crop in image_to_pb tool (#10887) 2022-03-19 07:08:45 +10:00
remove_initializer_from_input.py Format all python files under onnxruntime with black and isort (#11324) 2022-04-26 09:35:16 -07:00
run_android_emulator.py Format all python files under onnxruntime with black and isort (#11324) 2022-04-26 09:35:16 -07:00
sparsify_initializers.py Format all python files under onnxruntime with black and isort (#11324) 2022-04-26 09:35:16 -07:00
update_version.py Format all python files under onnxruntime with black and isort (#11324) 2022-04-26 09:35:16 -07:00