From 5d53f5ca846fb4bbe6d3fd0f80ca70be69e9852a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 30 Mar 2026 17:05:02 +0000 Subject: [PATCH 1/3] Bump codecov/codecov-action from 5 to 6 Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5 to 6. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/v5...v6) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/pipeline.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index a4a9775..4f84821 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -35,7 +35,7 @@ jobs: pip install "pymc>=5.0.0" pytest --cov=./calibr8 --cov-append --cov-report xml --cov-report term-missing calibr8 - name: Upload coverage - uses: codecov/codecov-action@v5 + uses: codecov/codecov-action@v6 with: file: ./coverage.xml - name: Test Wheel install and import From ca053501743abd4c6d714b2d0cb7935c6fca86f5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 30 Jan 2026 10:21:45 +0000 Subject: [PATCH 2/3] Bump actions/checkout from 5 to 6 Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v5...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] (cherry picked from commit ce9c03407b5b71895c50889fc2d1dfd713112305) --- .github/workflows/pipeline.yml | 2 +- .github/workflows/pre-commit.yml | 2 +- .github/workflows/release.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 4f84821..d5dbd35 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -12,7 +12,7 @@ jobs: matrix: python-version: ["3.10", "3.11", "3.12"] steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v6 with: diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index a58a71f..107c57d 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -9,7 +9,7 @@ jobs: pre-commit: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - uses: actions/setup-python@v6 with: python-version: '3.x' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6595a3d..c3f271a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ jobs: env: PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - name: Set up Python uses: actions/setup-python@v6 with: From 0c0121e8c8752a49a7c9d9b5094e449986a7ee97 Mon Sep 17 00:00:00 2001 From: Michael Osthege Date: Wed, 15 Apr 2026 13:06:46 +0200 Subject: [PATCH 3/3] AUto-update pre-commit hooks --- .pre-commit-config.yaml | 8 ++++---- calibr8/contrib/normal.py | 1 + calibr8/contrib/studentt.py | 1 + calibr8/core.py | 1 + calibr8/optimization.py | 1 + calibr8/utils.py | 1 + setup.py | 2 +- 7 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d03fd7b..e5c13f4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,7 +3,7 @@ exclude: docs/|\.(csv|json)$ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.2.0 + rev: v6.0.0 hooks: - id: check-merge-conflict - id: check-toml @@ -11,16 +11,16 @@ repos: - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/PyCQA/isort - rev: 5.12.0 + rev: 8.0.1 hooks: - id: isort name: isort - repo: https://github.com/psf/black - rev: 22.3.0 + rev: 26.3.1 hooks: - id: black - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.3.0 + rev: v1.20.1 hooks: - id: mypy exclude: 'test_.*?\.py$' diff --git a/calibr8/contrib/normal.py b/calibr8/contrib/normal.py index 5fd8741..71e38ab 100644 --- a/calibr8/contrib/normal.py +++ b/calibr8/contrib/normal.py @@ -2,6 +2,7 @@ This module implements reusable calibration models with Normal distributions for the dependent variable. """ + from typing import Optional, Sequence, Tuple from .. import core, utils diff --git a/calibr8/contrib/studentt.py b/calibr8/contrib/studentt.py index 71fc324..e51f933 100644 --- a/calibr8/contrib/studentt.py +++ b/calibr8/contrib/studentt.py @@ -2,6 +2,7 @@ This module implements reusable calibration models with Students-t distributions for the dependent variable. """ + import typing import warnings from typing import Optional, Sequence, Tuple diff --git a/calibr8/core.py b/calibr8/core.py index 15ddfc9..97e50b9 100644 --- a/calibr8/core.py +++ b/calibr8/core.py @@ -4,6 +4,7 @@ Also, it implements a variety of modeling functions such as polynomials, or (asymmetric) logistic functions and their corresponding inverse functions. """ + import datetime import inspect import json diff --git a/calibr8/optimization.py b/calibr8/optimization.py index ab3c2d8..60c0892 100644 --- a/calibr8/optimization.py +++ b/calibr8/optimization.py @@ -2,6 +2,7 @@ The optimization module implements convenience functions for maximum likelihood estimation of calibration model parameters. """ + import logging from typing import Any, Literal, Mapping, Optional, Sequence, Tuple, Union diff --git a/calibr8/utils.py b/calibr8/utils.py index 9197213..f510d02 100644 --- a/calibr8/utils.py +++ b/calibr8/utils.py @@ -2,6 +2,7 @@ This module implements helper functions for a variety of tasks, including imports, timestamp parsing and plotting. """ + import datetime import warnings from collections.abc import Iterable diff --git a/setup.py b/setup.py index 2aab35d..dc7dc17 100644 --- a/setup.py +++ b/setup.py @@ -28,7 +28,7 @@ def package_files(directory): fp_typed = pathlib.Path(ROOT, __packagename__, "py.typed") fp_typed.touch() paths = [str(fp_typed.absolute())] - for (path, directories, filenames) in os.walk(directory): + for path, directories, filenames in os.walk(directory): for filename in filenames: paths.append(os.path.join("..", path, filename)) return paths