File tree Expand file tree Collapse file tree 20 files changed +31
-70
lines changed Expand file tree Collapse file tree 20 files changed +31
-70
lines changed Original file line number Diff line number Diff line change @@ -27,22 +27,23 @@ repos:
2727 name : insert-license-shell
2828 files : \.(sh|py)$
2929 args :
30- - --license-filepath
31- # defaults to: LICENSE.txt
32- - HEADER
33- - --fuzzy-match-generates-todo
34- - --fuzzy-ratio-cut-off=85
30+ - --license-filepath=HEADER
31+ - --use-current-year
32+ - --allow-past-years
33+ - --detect-license-in-X-top-lines=10
34+ - --fuzzy-ratio-cut-off=50
35+ - --remove-header
3536 - id : insert-license
3637 name : insert-license-cpp
3738 files : \.(c|cc|cxx|cpp|h|hpp|hxx|inl|h.in)$
3839 args :
39- - --license-filepath
40- # defaults to: LICENSE.txt
41- - HEADER
42- - --comment-style
43- - // # defaults to: #
44- - --fuzzy-match-generates-todo
45- - --fuzzy-ratio-cut-off=85
40+ - --license-filepath=HEADER
41+ - --comment-style=//
42+ - --use-current-year
43+ - --allow-past-years
44+ - --detect-license-in-X-top-lines=10
45+ - --fuzzy-ratio-cut-off=50
46+ - --remove-header
4647 - id : remove-tabs
4748 name : remove-tabs
4849 files : \.(py)$
Original file line number Diff line number Diff line change 1- Copyright (C) 2025 Intel Corporation
1+ Copyright (C) {year} Intel Corporation
22SPDX-License-Identifier: Apache-2.0
Original file line number Diff line number Diff line change 1- // Copyright (C) 2025 Intel Corporation
2- // SPDX-License-Identifier: Apache-2.0
3-
41// Copyright (C) 2021 Intel Corporation
52// SPDX-License-Identifier: Apache-2.0
63
Original file line number Diff line number Diff line change 11# Copyright (C) 2025 Intel Corporation
22# SPDX-License-Identifier: Apache-2.0
3-
4- # Copyright (C) 2024 Intel Corporation
Original file line number Diff line number Diff line change 1- # Copyright (C) 2025 Intel Corporation
2- # SPDX-License-Identifier: Apache-2.0
3-
41# Copyright (C) 2024 Intel Corporation
2+ # SPDX-License-Identifier: Apache-2.0
53
64"""Imports commonly used when using this package"""
75
Original file line number Diff line number Diff line change 1- # Copyright (C) 2025 Intel Corporation
2- # SPDX-License-Identifier: Apache-2.0
3-
41# Copyright (C) 2024 Intel Corporation
52# SPDX-License-Identifier: Apache-2.0
63
Original file line number Diff line number Diff line change 1- # Copyright (C) 2025 Intel Corporation
2- # SPDX-License-Identifier: Apache-2.0
3-
41# Copyright (C) 2024 Intel Corporation
52# SPDX-License-Identifier: Apache-2.0
63
Original file line number Diff line number Diff line change 1- # Copyright (C) 2025 Intel Corporation
2- # SPDX-License-Identifier: Apache-2.0
3-
41# Copyright (C) 2024 Intel Corporation
52# SPDX-License-Identifier: Apache-2.0
63
Original file line number Diff line number Diff line change 1- # Copyright (C) 2025 Intel Corporation
2- # SPDX-License-Identifier: Apache-2.0
3-
41# Copyright (C) 2024 Intel Corporation
52# SPDX-License-Identifier: Apache-2.0
63
Original file line number Diff line number Diff line change 1- # Copyright (C) 2025 Intel Corporation
2- # SPDX-License-Identifier: Apache-2.0
3-
41# Copyright (C) 2024 Intel Corporation
52# SPDX-License-Identifier: Apache-2.0
You can’t perform that action at this time.
0 commit comments