scikit-hep / pyhf

pure-Python HistFactory implementation with tensors and autodiff
https://pyhf.readthedocs.io/
Apache License 2.0
283 stars 83 forks source link

chore: [pre-commit.ci] pre-commit autoupdate #2442

Closed pre-commit-ci[bot] closed 6 months ago

pre-commit-ci[bot] commented 8 months ago

updates:

* Update pre-commit hooks:
   - github.com/astral-sh/ruff-pre-commit: v0.1.9 → v0.3.3
   - github.com/psf/black-pre-commit-mirror: 23.12.1 → 24.3.0
   - github.com/pre-commit/mirrors-mypy: v1.8.0 → v1.9.0
* Apply pre-commit changes.
* Apply ruff fixes to 'RUF017 Avoid quadratic list summation' to
  src/pyhf/workspace.py with '--unsafe-fixes' option.
   - c.f. https://docs.astral.sh/ruff/rules/quadratic-list-summation/
codecov-commenter commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 98.21%. Comparing base (db67210) to head (9a1721b).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2442 +/- ## ======================================= Coverage 98.21% 98.21% ======================================= Files 69 69 Lines 4541 4543 +2 Branches 804 804 ======================================= + Hits 4460 4462 +2 Misses 48 48 Partials 33 33 ``` | [Flag](https://app.codecov.io/gh/scikit-hep/pyhf/pull/2442/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scikit-hep) | Coverage Δ | | |---|---|---| | [contrib](https://app.codecov.io/gh/scikit-hep/pyhf/pull/2442/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scikit-hep) | `97.79% <100.00%> (+<0.01%)` | :arrow_up: | | [doctest](https://app.codecov.io/gh/scikit-hep/pyhf/pull/2442/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scikit-hep) | `98.08% <100.00%> (+<0.01%)` | :arrow_up: | | [unittests-3.10](https://app.codecov.io/gh/scikit-hep/pyhf/pull/2442/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scikit-hep) | `96.23% <100.00%> (+<0.01%)` | :arrow_up: | | [unittests-3.11](https://app.codecov.io/gh/scikit-hep/pyhf/pull/2442/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scikit-hep) | `96.23% <100.00%> (+<0.01%)` | :arrow_up: | | [unittests-3.12](https://app.codecov.io/gh/scikit-hep/pyhf/pull/2442/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scikit-hep) | `96.23% <100.00%> (+<0.01%)` | :arrow_up: | | [unittests-3.8](https://app.codecov.io/gh/scikit-hep/pyhf/pull/2442/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scikit-hep) | `96.25% <100.00%> (+<0.01%)` | :arrow_up: | | [unittests-3.9](https://app.codecov.io/gh/scikit-hep/pyhf/pull/2442/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scikit-hep) | `96.27% <100.00%> (+<0.01%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scikit-hep#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.