Skip to content

Conversation

@pre-commit-ci
Copy link
Contributor

@pre-commit-ci pre-commit-ci bot commented Feb 2, 2026

updates:


This pull request focuses on improving type safety and clarity in the codebase by introducing and consistently applying NumPy type annotations (numpy.typing) throughout the metrics modules. Additionally, it updates development tooling and configuration files for better compatibility and code quality.

Type annotation improvements in metrics modules:

Development and configuration updates:

  • Set the default Python version to python3.10 in .pre-commit-config.yaml for consistent local development and CI environments.
  • Updated pre-commit hook dependencies and versions for improved compatibility:
    • Bumped pyproject-fmt to v2.12.1 and mypy to v1.19.1
    • Updated dependencies for mypy and codespell hooks to require minimum versions (numpy>=2.0, tomli>=2.0.1) [1] [2] [3]

Minor configuration and housekeeping:

  • Added a new URL to the exclude list in .github/lychee.toml to prevent unnecessary link checking.
  • Adjusted the placement of [tool.setuptools.package-data] in pyproject.toml for clarity and correctness.

updates:
- [github.com/tox-dev/pyproject-fmt: v2.11.1 → v2.12.1](tox-dev/pyproject-fmt@v2.11.1...v2.12.1)
- [github.com/pre-commit/mirrors-mypy: v1.13.0 → v1.19.1](pre-commit/mirrors-mypy@v1.13.0...v1.19.1)
@pre-commit-ci pre-commit-ci bot requested a review from SkalskiP as a code owner February 2, 2026 17:37
@codecov
Copy link

codecov bot commented Feb 2, 2026

Codecov Report

❌ Patch coverage is 70.00000% with 39 lines in your changes missing coverage. Please review.
✅ Project coverage is 71%. Comparing base (efbb5e2) to head (88dc267).
⚠️ Report is 1 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff           @@
##           develop   #2126   +/-   ##
=======================================
- Coverage       71%     71%   -0%     
=======================================
  Files           61      61           
  Lines         7217    7245   +28     
=======================================
+ Hits          5146    5159   +13     
- Misses        2071    2086   +15     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Borda added 5 commits February 3, 2026 02:57
… to `numpy.typing` for improved alignment with `numpy` standards.
…pendencies in `.pre-commit-config.yaml` with version constraints
…mments and refine `.pre-commit-config.yaml` by adding Python version and removing version constraints for `types-PyYAML` and `types-requests`.
@Borda Borda changed the title chore(pre_commit): ⬆ pre_commit autoupdate chore: ⬆ pre_commit autoupdate & resolve many numpy typing Feb 3, 2026
@Borda Borda added the enhancement New feature or request label Feb 3, 2026
@Borda Borda merged commit c1887da into develop Feb 3, 2026
27 checks passed
@Borda Borda deleted the pre-commit-ci-update-config branch February 3, 2026 02:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant