Skip to content
Merged
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
4 changes: 2 additions & 2 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,24 @@
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
- id: check-yaml
- 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$'
1 change: 1 addition & 0 deletions calibr8/contrib/normal.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions calibr8/contrib/studentt.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions calibr8/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions calibr8/optimization.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions calibr8/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading