diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000000..c66f1e0c04 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,5 @@ +[submodule "toolchains/nv_workspaces"] + path = toolchains/nv_workspaces + url = ssh://git@gitlab-master.nvidia.com:12051/torch-tensorrt/WORKSPACES.git + branch = master + ignore = dirty \ No newline at end of file diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1e04df038c..ac0c05c015 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -27,4 +27,13 @@ repos: - id: buildifier args: - --warnings=all - - id: buildifier-lint \ No newline at end of file + - id: buildifier-lint + - repo: local + hooks: + - id: dont-commit-upstream + name: NVIDIA-INTERNAL check + entry: "!NVIDIA-INTERNAL" + exclude: "^.pre-commit-config.yaml" + language: pygrep + types: [text] + diff --git a/toolchains/nv_workspaces b/toolchains/nv_workspaces new file mode 160000 index 0000000000..9a6a3e18dc --- /dev/null +++ b/toolchains/nv_workspaces @@ -0,0 +1 @@ +Subproject commit 9a6a3e18dc5fb47aae82a19816f759a93b3e4cc3