mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-09 21:04:17 +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]
|
types: [text]
|
||||||
stages: [pre-commit, pre-push, manual]
|
stages: [pre-commit, pre-push, manual]
|
||||||
minimum_pre_commit_version: 3.2.0
|
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
|
- id: pretty-format-json
|
||||||
name: pretty format json
|
name: pretty format json
|
||||||
description: sets a standard for formatting json files.
|
description: sets a standard for formatting json files.
|
||||||
|
|
|
||||||
|
|
@ -40,6 +40,7 @@ console_scripts =
|
||||||
check-json = pre_commit_hooks.check_json:main
|
check-json = pre_commit_hooks.check_json:main
|
||||||
check-merge-conflict = pre_commit_hooks.check_merge_conflict:main
|
check-merge-conflict = pre_commit_hooks.check_merge_conflict:main
|
||||||
check-shebang-scripts-are-executable = pre_commit_hooks.check_shebang_scripts_are_executable:main
|
check-shebang-scripts-are-executable = pre_commit_hooks.check_shebang_scripts_are_executable:main
|
||||||
|
check-spdx = pre_commit_hooks.check_spdx:main
|
||||||
check-symlinks = pre_commit_hooks.check_symlinks:main
|
check-symlinks = pre_commit_hooks.check_symlinks:main
|
||||||
check-toml = pre_commit_hooks.check_toml:main
|
check-toml = pre_commit_hooks.check_toml:main
|
||||||
check-vcs-permalinks = pre_commit_hooks.check_vcs_permalinks:main
|
check-vcs-permalinks = pre_commit_hooks.check_vcs_permalinks:main
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue