"test/git@developer.sourcefind.cn:jerrrrry/infinicore.git" did not exist on "a4b897d95e8b93f4db296dad2f94a8d2e23009de"
format.sh 288 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Copyright (c) 2022-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#
# See LICENSE for license information.

# Utility file to run pre-commit hooks locally
# Usage: bash qa/format.sh

set -e

: "${TE_PATH:=.}"

cd $TE_PATH

pip install pre-commit
pre-commit run --all-files