Added hook.

This commit is contained in:
Franco Masotti 2021-08-09 11:21:21 +02:00
parent 8da1800b61
commit 44712860b1
Signed by: frnmst
GPG Key ID: 24116ED85666780A
2 changed files with 16 additions and 0 deletions

10
.allowed_licenses.yml Normal file
View File

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

View File

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