Skip to content

Commit

Permalink
update pre-commit and small typo (caught by codespell)
Browse files Browse the repository at this point in the history
  • Loading branch information
juanitorduz committed Nov 12, 2024
1 parent 3ac0e61 commit de7f24e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ repos:
language: system
files: "(.py$)|(.*.ipynb$)"

- id: mypy
name: mypy
language: python
entry: mypy --install-types --non-interactive
files: ^numpyro/


- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
Expand Down
2 changes: 1 addition & 1 deletion numpyro/distributions/continuous.py
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ def __init__(
transition_matrix.ndim == 2
), "`transition_matrix` argument should be a square matrix"
self.transition_matrix = transition_matrix
# Expand the covariance/presicion/scale matrices to the right number of steps.
# Expand the covariance/precision/scale matrices to the right number of steps.
args = {
"covariance_matrix": covariance_matrix,
"precision_matrix": precision_matrix,
Expand Down

0 comments on commit de7f24e

Please sign in to comment.