Skip to content

Commit

Permalink
ci: check-sdist (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
henryiii authored Oct 27, 2024
1 parent c06830d commit 73fb55d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
9 changes: 9 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -113,3 +113,12 @@ exclude_lines = [
"if self\\.debug:",
"except ImportError:",
]

[tool.check-sdist]
git-only = [
"docs",
"fuzz",
"scripts",
"mkdocs.yml",
"uv.lock"
]
1 change: 1 addition & 0 deletions scripts/check
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 73fb55d

Please sign in to comment.