Browse Source

Added hook.

master
Franco Masotti 1 year ago
parent
commit
561803ca1f
Signed by: frnmst
GPG Key ID: 24116ED85666780A
  1. 9
      .allowed_licenses.yml
  2. 24
      .pre-commit-config.yaml

9
.allowed_licenses.yml

@ -0,0 +1,9 @@
allowed licenses: []
files to check:
- Pipfile
language: python
include:
- https://codeberg.org/frnmst/licheck/raw/branch/master/examples/python_gpl_compatible.yml

24
.pre-commit-config.yaml

@ -12,13 +12,19 @@ repos:
- id: check-case-conflict
- id: debug-statements
- repo: https://codeberg.org/frnmst/md-toc
rev: '8.0.0' # or a specific git tag from md-toc
hooks:
- id: md-toc
args: [-p, 'github', '-l6'] # CLI options
- repo: https://codeberg.org/frnmst/md-toc
rev: '8.0.0' # or a specific git tag from md-toc
hooks:
- id: md-toc
args: [-p, 'github', '-l6'] # CLI options
- repo: https://github.com/hadolint/hadolint
rev: v2.6.1
hooks:
- id: hadolint-docker
- repo: https://github.com/hadolint/hadolint
rev: v2.6.1
hooks:
- id: hadolint-docker
- repo: https://codeberg.org/frnmst/licheck
rev: 0.0.2
hooks:
- id: licheck
args: ['--configuration-file', '.allowed_licenses.yml']

Loading…
Cancel
Save