From 2e73b5f8b43793f68d8dec2dcab2b5dc692ce542 Mon Sep 17 00:00:00 2001 From: elmotec Date: Sun, 16 Nov 2025 10:40:29 -0500 Subject: [PATCH 1/2] ci(pre-commit): autoupdate pre-commit also add an 'all' extra that references develop and notebooks. --- .pre-commit-config.yaml | 6 +++--- pyproject.toml | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 76055c2..6c1f186 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,7 +6,7 @@ repos: stages: - commit-msg repo: https://github.com/commitizen-tools/commitizen - rev: master + rev: v4.10.0 - hooks: - id: check-added-large-files - id: check-merge-conflict @@ -29,7 +29,7 @@ repos: - id: validate-pyproject files: pyproject\.toml$ - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.13.0 + rev: v0.14.5 hooks: - id: ruff-check args: [--fix] @@ -42,7 +42,7 @@ repos: files: codemetrics/ id: mypy repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.18.1 + rev: v1.18.2 - hooks: - always_run: false entry: python -m unittest diff --git a/pyproject.toml b/pyproject.toml index 85e219f..42179ef 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -68,6 +68,9 @@ notebooks = [ "jupyterlab", "matplotlib", ] +all = [ + "codemetrics[develop, notebooks]", +] [tool.setuptools] packages = ["codemetrics"] From 3da38ffff3c66b848e1d40c7a6394727984b90ea Mon Sep 17 00:00:00 2001 From: elmotec <1107551+elmotec@users.noreply.github.com> Date: Sun, 16 Nov 2025 11:07:47 -0500 Subject: [PATCH 2/2] Update pyproject.toml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 42179ef..8b5ebcd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -69,7 +69,7 @@ notebooks = [ "matplotlib", ] all = [ - "codemetrics[develop, notebooks]", + "codemetrics[develop,notebooks]", ] [tool.setuptools]