diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 74330d8a..2a9b64db 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,7 +7,7 @@ repos: - id: debug-statements - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.12.0 + rev: v0.12.3 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix, --show-fixes] diff --git a/pyproject.toml b/pyproject.toml index b66940ee..fd5745b7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -62,6 +62,7 @@ rich = [ "rich", ] test = [ + "pip", "build", "pytest", "rich", @@ -75,6 +76,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"