Skip to content

Commit cac02b5

Browse files
fix: update template files to explicitly install ruff and update dev dependencies
1 parent c1f6595 commit cac02b5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

repo_scaffold/templates/template-python/{{cookiecutter.project_slug}}/noxfile.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ def install_with_uv(session: nox.Session, extras: list[str] | None = None) -> No
4141
extras: Optional list of extra dependency groups to install (e.g. ["dev", "docs"])
4242
"""
4343
session.install("uv")
44+
session.install("ruff") # Explicitly install ruff
4445
if extras:
4546
session.run("uv", "sync", *(f"--extra={extra}" for extra in extras))
4647
else:

repo_scaffold/templates/template-python/{{cookiecutter.project_slug}}/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dependencies = [
1616

1717
[project.optional-dependencies]
1818
dev = [
19-
"ruff>=0.9.6",
19+
"ruff>=0.9.7", # Update ruff version
2020
"nox>=2024.10.9",
2121
"pytest>=8.3.4",
2222
"pytest-mock>=3.14.0",

0 commit comments

Comments
 (0)