Skip to content

Commit

Permalink
Add licensecheck to CI (#2516)
Browse files Browse the repository at this point in the history
  • Loading branch information
danieljanes authored Oct 17, 2023
1 parent e89ec3b commit dbcd6a9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions dev/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,11 @@ python -m mdformat --check --number doc/source examples
echo "- mdformat: done"

echo "- All Markdown checks passed"

echo "- Start license checks"

echo "- licensecheck: start"
python -m licensecheck -u poetry --fail-licenses gpl --zero
echo "- licensecheck: done"

echo "- All license checks passed"
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ twine = "==4.0.2"
pyroma = "==4.2"
check-wheel-contents = "==0.4.0"
GitPython = "==3.1.32"
licensecheck = "==2023.5.1"

[tool.isort]
line_length = 88
Expand Down

0 comments on commit dbcd6a9

Please sign in to comment.