Browse Source

Added git hook.

master
Franco Masotti 12 months ago
parent
commit
65ce2ef767
Signed by: frnmst
GPG Key ID: 24116ED85666780A
  1. 9
      .allowed_licenses.yml
  2. 6
      .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

6
.pre-commit-config.yaml

@ -43,6 +43,12 @@ repos:
hooks:
- id: isort
- repo: https://codeberg.org/frnmst/licheck
rev: 0.0.3
hooks:
- id: licheck
args: ['--configuration-file', '.allowed_licenses.yml']
- repo: local
hooks:
- id: build-docs

Loading…
Cancel
Save