Skip to content

Commit

Permalink
Merge branch 'maint/licensecheck' into 'main'
Browse files Browse the repository at this point in the history
MAINT: Add hook for checking license compliance

See merge request heka/medkit!253

changelog: MAINT: Add hook for checking license compliance
  • Loading branch information
ghisvail committed Dec 13, 2023
2 parents e148d13 + b2863f0 commit 25ed286
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,11 @@ repos:
hooks:
- id: poetry-check

- repo: https://github.com/FHPythonUtils/LicenseCheck
rev: '2023.5.2'
hooks:
- id: licensecheck
stages: [ manual ]

default_language_version:
python: python3
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,9 @@ indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"

[tool.licensecheck]
using = "poetry"

[tool.poetry-dynamic-versioning]
enable = true
vcs = "git"
Expand Down

0 comments on commit 25ed286

Please sign in to comment.