Skip to content

Commit e87efcc

Browse files
committed
Add centralized pre-commit hook
1 parent cf80b07 commit e87efcc

2 files changed

Lines changed: 3 additions & 386 deletions

File tree

.pre-commit-config.yaml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023-2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
1+
# Copyright 2023-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
22
#
33
# Redistribution and use in source and binary forms, with or without
44
# modification, are permitted provided that the following conditions
@@ -73,12 +73,7 @@ repos:
7373
- id: requirements-txt-fixer
7474
- id: trailing-whitespace
7575

76-
- repo: local
76+
- repo: https://github.com/triton-inference-server/pre-commit-hooks
77+
rev: v0.1.0
7778
hooks:
7879
- id: add-license
79-
name: Add License
80-
entry: python tools/add_copyright.py
81-
language: python
82-
stages: [pre-commit]
83-
verbose: true
84-
require_serial: true

tools/add_copyright.py

Lines changed: 0 additions & 378 deletions
This file was deleted.

0 commit comments

Comments
 (0)