From 7008c771cdaaa84f7dcf43a3e15bc41beba33433 Mon Sep 17 00:00:00 2001 From: dm Date: Wed, 2 Dec 2026 09:42:06 +0100 Subject: [PATCH] Bump Ruff and ty in the template --- {{cookiecutter.project_slug}}/pyproject.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/{{cookiecutter.project_slug}}/pyproject.toml b/{{cookiecutter.project_slug}}/pyproject.toml index 25c3c0c..4ee3a2c 100644 --- a/{{cookiecutter.project_slug}}/pyproject.toml +++ b/{{cookiecutter.project_slug}}/pyproject.toml @@ -35,8 +35,8 @@ test = ["pytest", "pytest-cov", "pytest-timeout", "pretend", "coverage[toml]"] lint = [ # NOTE: ruff is under active development, so we pin conservatively here # and let Dependabot periodically perform this update. - "ruff ~= 0.15.0", - "ty >=0.0.8", + "ruff ~= 0.17.6", + "ty >=1.0.0", {%- if cookiecutter.docstring_coverage %} "interrogate", {%- endif %} @@ -97,6 +97,7 @@ ignore = [ "D213", # Incompatible with D212 "COM812", # Can conflict with formatter "ISC001", # Can conflict with formatter + "CPY001", # Generated projects do not require per-file copyright notices ] [tool.ruff.lint.mccabe]