Skip to content

Commit 34f9ba4

Browse files
committed
Add centralized pre-commit hook
1 parent 4b3337c commit 34f9ba4

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

.pre-commit-config.yaml

Lines changed: 6 additions & 1 deletion
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
@@ -71,3 +71,8 @@ repos:
7171
- id: mixed-line-ending
7272
- id: requirements-txt-fixer
7373
- id: trailing-whitespace
74+
75+
- repo: https://github.com/triton-inference-server/pre-commit-hooks
76+
rev: v0.1.0
77+
hooks:
78+
- id: add-license

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved.
1+
Copyright (c) 2020-2026, NVIDIA CORPORATION. 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

0 commit comments

Comments
 (0)