-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added pre-commit config yml file to add license header to Python bind…
…ings
- Loading branch information
1 parent
2196569
commit 6a59007
Showing
2 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
repos: | ||
- repo: https://github.com/Lucas-C/pre-commit-hooks | ||
rev: v1.5.1 | ||
hooks: | ||
- id: insert-license | ||
files: bindings\/python\/genalyzer\/.*\.py$ | ||
args: | ||
- --license-filepath | ||
- .github/license_header.txt | ||
- --use-current-year | ||
- --no-extra-eol | ||
- --detect-license-in-X-top-lines=3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Copyright (C) 2024 Analog Devices, Inc. | ||
|
||
SPDX short identifier: ADIBSD |