Browse Source

Added hook.

master
Franco Masotti 1 year ago
parent
commit
0beff5eeb0
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

@ -35,6 +35,12 @@ repos:
- id: skjold
args: ['-s', 'gemnasium', '-s', 'pyup']
- 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

Loading…
Cancel
Save