diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4ceafb7..c3d9d99 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -35,6 +35,7 @@ jobs: - name: Run rename test run: scripts/rename + # https://github.com/marketplace/actions/alls-green#why used for branch protection checks check: if: always() diff --git a/pyproject.toml b/pyproject.toml index ea348fc..12e4922 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -113,3 +113,12 @@ exclude_lines = [ "if self\\.debug:", "except ImportError:", ] + +[tool.check-sdist] +git-only = [ + "docs", + "fuzz", + "scripts", + "mkdocs.yml", + "uv.lock" +] diff --git a/scripts/check b/scripts/check index 141f2a9..13ce9ed 100755 --- a/scripts/check +++ b/scripts/check @@ -7,3 +7,4 @@ SOURCE_FILES="python_multipart multipart tests" uvx ruff format --check --diff $SOURCE_FILES uvx ruff check $SOURCE_FILES uvx --with types-PyYAML mypy $SOURCE_FILES +uvx check-sdist