Skip to content

Commit

Permalink
chore(ci): introduce check-wheel-contents
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel committed Oct 15, 2024
1 parent 9257c7d commit 52a44d2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,8 @@ jobs:
run: uvx pydistcheck --inspect dist/*
- name: pyroma
run: uvx pyroma dist/*.tar.gz
- name: check-wheel-contents
run: uvx check-wheel-contents dist/*.whl

notes:
runs-on: ubuntu-24.04
Expand Down
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,12 @@ Homepage = "https://weblate.org/"
"Source Code" = "https://github.com/WeblateOrg/weblate"
Twitter = "https://twitter.com/WeblateOrg"

[tool.check-wheel-contents]
ignore = [
"W002", # Triggered by __init__.py or .license files
"W004" # Django migrations fail here
]

[tool.codespell]
count = true
ignore-words-list = "assertIn"
Expand Down

0 comments on commit 52a44d2

Please sign in to comment.