aesara-devs / aemcmc

AeMCMC is a Python library that automates the construction of samplers for Aesara graphs representing statistical models.
https://aemcmc.readthedocs.io/en/latest/
MIT License
39 stars 11 forks source link

Update pre-commit hooks #122

Closed github-actions[bot] closed 1 year ago

github-actions[bot] commented 1 year ago

Update versions of pre-commit hooks to latest version.

maresb commented 1 year ago

I think we should just add the pre-commit app. It covers a lot of these edge cases, and it's also very transparent.

maresb commented 1 year ago

Otherwise we should trigger the pre-commit update using a personal access token, since the default GITHUB_TOKEN forbids its commits from triggering workflows. Thus I had to close&reopen to trigger the checks... which didn't actually trigger due to .pre-commit-config.yaml not being included in the changes.

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 86.66% and project coverage change: -0.47 :warning:

Comparison is base (64b0e50) 98.50% compared to head (bc504c4) 98.03%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #122 +/- ## ========================================== - Coverage 98.50% 98.03% -0.47% ========================================== Files 10 11 +1 Lines 737 765 +28 Branches 63 69 +6 ========================================== + Hits 726 750 +24 - Misses 4 5 +1 - Partials 7 10 +3 ``` | [Impacted Files](https://app.codecov.io/gh/aesara-devs/aemcmc/pull/122?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aesara-devs) | Coverage Δ | | |---|---|---| | [aemcmc/utils.py](https://app.codecov.io/gh/aesara-devs/aemcmc/pull/122?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aesara-devs#diff-YWVtY21jL3V0aWxzLnB5) | `93.44% <80.00%> (-6.56%)` | :arrow_down: | | [aemcmc/sample.py](https://app.codecov.io/gh/aesara-devs/aemcmc/pull/122?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aesara-devs#diff-YWVtY21jL3NhbXBsZS5weQ==) | `100.00% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.