Skip to content

Commit

Permalink
Created .pre-commit-config.yaml to add license header
Browse files Browse the repository at this point in the history
  • Loading branch information
SrikanthPagadarai authored Nov 17, 2024
1 parent ea32e0c commit d540304
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/.pre-commit-config.yaml
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

0 comments on commit d540304

Please sign in to comment.