Skip to content

Commit

Permalink
Add licensecheck to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
danieljanes committed Oct 15, 2023
1 parent e27fe76 commit a0f8d9c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 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:dev --fail-licenses gpl
echo "- licensecheck: done"

echo "- All license checks passed"
7 changes: 4 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ flower-server = "flwr.server:run_server"
flower-client = "flwr.client:run_client"

[tool.poetry.dependencies]
python = "^3.8"
python = "^3.8" # PSF License Agreement
# Mandatory dependencies
numpy = "^1.21.0"
grpcio = "^1.48.2,!=1.52.0"
numpy = "^1.21.0" # BSD 3-Clause "New" or "Revised" License
grpcio = "^1.48.2,!=1.52.0" #
protobuf = "^3.19.0"
cryptography = "^41.0.2"
pycryptodome = "^3.18.0"
Expand Down 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 a0f8d9c

Please sign in to comment.