Skip to content

Commit 98c58d0

Browse files
Adds minor publishing update to toml, and updates gitignore.
1 parent c75ca0f commit 98c58d0

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ env/
3636
# uv (project-local cache if present)
3737
.uv/
3838

39+
# Local secrets (e.g. PyPI token for publishing)
40+
.env
41+
3942
# Testing / coverage
4043
.pytest_cache/
4144
.coverage

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,7 @@ pythonpath = ["src"]
6060
[tool.ruff]
6161
line-length = 100
6262
target-version = "py313"
63+
64+
# Skip uploading dist files that already exist on PyPI (avoids 400 file name reuse).
65+
[tool.uv]
66+
check-url = "https://pypi.org/simple"

0 commit comments

Comments
 (0)