Browse Source

Added hook.

master
Franco Masotti 9 months ago
parent
commit
44712860b1
Signed by: frnmst
GPG Key ID: 24116ED85666780A
  1. 10
      .allowed_licenses.yml
  2. 6
      .pre-commit-config.yaml

10
.allowed_licenses.yml

@ -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

6
.pre-commit-config.yaml

@ -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

Loading…
Cancel
Save