Skip to content

Commit 39aec71

Browse files
dguidoclaude
andcommitted
Update ty and uv_build versions, add error-on-warning
- Bump uv_build from 0.8.x to 0.9.x - Bump ty minimum from 0.0.2 to 0.0.8 - Add error-on-warning = true to treat warnings as errors Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 4f1eb0d commit 39aec71

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

{{cookiecutter.project_slug}}/pyproject.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ dependencies = []
2222
requires-python = ">=3.10"
2323

2424
[build-system]
25-
requires = ["uv_build>=0.8.14,<0.9.0"]
25+
requires = ["uv_build>=0.9.0,<0.10.0"]
2626
build-backend = "uv_build"
2727

2828
[dependency-groups]
@@ -36,7 +36,7 @@ lint = [
3636
# NOTE: ruff is under active development, so we pin conservatively here
3737
# and let Dependabot periodically perform this update.
3838
"ruff ~= 0.14.0",
39-
"ty >=0.0.2",
39+
"ty >=0.0.8",
4040
{%- if cookiecutter.docstring_coverage %}
4141
"interrogate",
4242
{%- endif %}
@@ -63,6 +63,9 @@ Source = "https://github.com/{{ cookiecutter.github_username }}/{{ cookiecutter.
6363
# don't attempt code coverage for the CLI entrypoints
6464
omit = ["{{ cookiecutter.__project_src_path }}/_cli.py"]
6565

66+
[tool.ty.terminal]
67+
error-on-warning = true
68+
6669
[tool.ty.environment]
6770
python-version = "3.10"
6871

0 commit comments

Comments
 (0)