From 9af48600cdcd48226b76e0886e973d124a53029b Mon Sep 17 00:00:00 2001 From: JeukOh Date: Thu, 10 Jul 2025 23:36:52 +0900 Subject: [PATCH 1/3] update precommit rev --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ccc361c6..74330d8a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,14 +7,14 @@ repos: - id: debug-statements - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.11.13 + rev: v0.12.0 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix, --show-fixes] - id: ruff-format - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.16.0 + rev: v1.16.1 hooks: - id: mypy args: [--strict] From cefe3a90b41f904bd134831e1bfd34146efb6b7f Mon Sep 17 00:00:00 2001 From: JeukOh Date: Thu, 10 Jul 2025 23:37:07 +0900 Subject: [PATCH 2/3] add console_scripts entrypoint in pyproject --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index b66940ee..fd8181b3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -75,6 +75,9 @@ toml = [ documentation = "https://setuptools-scm.readthedocs.io/" repository = "https://github.com/pypa/setuptools-scm/" +[project.entry-points.console_scripts] +setuptools-scm = "setuptools_scm._cli:main" + [project.entry-points."distutils.setup_keywords"] use_scm_version = "setuptools_scm._integration.setuptools:version_keyword" From ab893770fa9dcd0f2caaa4aa8ecf9c01eee15acd Mon Sep 17 00:00:00 2001 From: JeukOh Date: Thu, 10 Jul 2025 23:37:16 +0900 Subject: [PATCH 3/3] add pip in test optional deps for test in uv venv --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index fd8181b3..fd5745b7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -62,6 +62,7 @@ rich = [ "rich", ] test = [ + "pip", "build", "pytest", "rich",