[CI/Build] Move pre-commit only scripts to tools/pre_commit (#27657)
Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
This commit is contained in:
@ -37,6 +37,6 @@ if diff before.txt after.txt; then
|
||||
else
|
||||
echo "torch version overridden by nightly_torch_test.txt, \
|
||||
if the dependency is not triggered by the pytroch nightly test,\
|
||||
please add the dependency to the list 'white_list' in tools/generate_nightly_torch_test.py"
|
||||
please add the dependency to the list 'white_list' in tools/pre_commit/generate_nightly_torch_test.py"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
@ -5,7 +5,7 @@ import ast
|
||||
|
||||
import pytest
|
||||
|
||||
from tools.validate_config import validate_ast
|
||||
from tools.pre_commit.validate_config import validate_ast
|
||||
|
||||
_TestConfig1 = """
|
||||
@config
|
||||
|
||||
Reference in New Issue
Block a user