Skip to content

Commit 73fb55d

Browse files
authored
ci: check-sdist (#172)
1 parent c06830d commit 73fb55d

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535

3636
- name: Run rename test
3737
run: scripts/rename
38+
3839
# https://github.com/marketplace/actions/alls-green#why used for branch protection checks
3940
check:
4041
if: always()

pyproject.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,3 +113,12 @@ exclude_lines = [
113113
"if self\\.debug:",
114114
"except ImportError:",
115115
]
116+
117+
[tool.check-sdist]
118+
git-only = [
119+
"docs",
120+
"fuzz",
121+
"scripts",
122+
"mkdocs.yml",
123+
"uv.lock"
124+
]

scripts/check

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ SOURCE_FILES="python_multipart multipart tests"
77
uvx ruff format --check --diff $SOURCE_FILES
88
uvx ruff check $SOURCE_FILES
99
uvx --with types-PyYAML mypy $SOURCE_FILES
10+
uvx check-sdist

0 commit comments

Comments
 (0)