From 8932fc0c367abea6440616aaf0dee1dbfe8ff906 Mon Sep 17 00:00:00 2001 From: sabaimran Date: Tue, 21 Nov 2023 11:12:50 -0800 Subject: [PATCH] Ignore w004 check to bypass pypi warnings for check-wheel-contents - PyPi doesn't like to have files that start with numbers, however all of the generated django migration files start with numbers. To accommodate, skip this check. - Refer to https://pypi.org/project/check-wheel-contents/ for documentation and recommendation --- .github/workflows/pypi.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 21792f51..0f31102d 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -48,7 +48,7 @@ jobs: - name: 🌡️ Validate Python Package run: | # Validate PyPi Package - pipx run check-wheel-contents dist/*.whl + pipx run check-wheel-contents dist/*.whl --ignore w004 pipx run twine check dist/* - name: ⏫ Upload Python Package Artifacts