mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-05 11:36:54 +00:00
Update additional files for check-spdx hook
Signed-off-by: Marcus Burghardt <maburgha@redhat.com>
This commit is contained in:
parent
d4688f5c1f
commit
929585fe9e
2 changed files with 8 additions and 0 deletions
|
|
@ -61,6 +61,13 @@
|
|||
types: [text]
|
||||
stages: [pre-commit, pre-push, manual]
|
||||
minimum_pre_commit_version: 3.2.0
|
||||
- id: check-spdx
|
||||
name: check SPDX line
|
||||
description: checks for the presence of an SPDX-License-Identifier in the comments of source files.
|
||||
entry: check-spdx
|
||||
language: python
|
||||
files: \.(py|js|java|c|cpp|go|sh|ps1)$
|
||||
types: [text]
|
||||
- id: pretty-format-json
|
||||
name: pretty format json
|
||||
description: sets a standard for formatting json files.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue