Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions hooks/post_gen_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
["git", "commit", "--message", "chore(cookiecutter): initial commit", "--quiet"]
)
# add pre-commit and iesopt dependencies
subprocess.run(["uv", "tool", "install", "pre-commit", "--with", "pre-commit-uv"])
subprocess.run(["uv", "tool", "run", "pre-commit", "install"])
# subprocess.run(["uv", "tool", "install", "pre-commit", "--with", "pre-commit-uv"])
subprocess.run(["uv", "pip", "install", "pre-commit"])
subprocess.run(["uv", "run", "pre-commit", "install"])
subprocess.run(["uv", "run", "python", "-c", "import iesopt"])
subprocess.run(["git", "add", "."])
subprocess.run(
Expand Down
2 changes: 1 addition & 1 deletion {{ cookiecutter.project_slug }}/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.12.9
rev: v0.15.2
hooks:
- id: ruff-check
types_or: [ python, pyi ]
Expand Down
2 changes: 1 addition & 1 deletion {{ cookiecutter.project_slug }}/.python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.12
3.14.3
2 changes: 1 addition & 1 deletion {{ cookiecutter.project_slug }}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ version = "0.1.0"
description = "{{ cookiecutter.short_description }}"
authors = ["{{ cookiecutter.author }}"]
readme = "README.md"
requires-python = ">=3.12"
requires-python = ">=3.14"
dependencies = []