Skip to content

Commit

Permalink
Merge pull request #22 from gradhep/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
Nathan Simpson authored Mar 5, 2022
2 parents 4c48eb9 + a6b3989 commit d0c54c1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
repos:
- repo: https://github.com/psf/black
rev: 21.11b1
rev: 22.1.0
hooks:
- id: black-jupyter

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
rev: v4.1.0
hooks:
- id: check-added-large-files
- id: check-case-conflict
Expand Down Expand Up @@ -36,7 +36,7 @@ repos:
- id: isort

- repo: https://github.com/asottile/pyupgrade
rev: v2.29.1
rev: v2.31.0
hooks:
- id: pyupgrade
args: ["--py36-plus"]
Expand All @@ -47,7 +47,7 @@ repos:
- id: setup-cfg-fmt

- repo: https://github.com/hadialqattan/pycln
rev: v1.1.0
rev: v1.2.4
hooks:
- id: pycln
args: [--config=pyproject.toml]
Expand All @@ -69,13 +69,13 @@ repos:
additional_dependencies: *flake8_dependencies

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.910-1
rev: v0.931
hooks:
- id: mypy
files: src

- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.8.0.1
rev: v0.8.0.4
hooks:
- id: shellcheck

Expand Down
2 changes: 1 addition & 1 deletion src/relaxed/ops/likelihood_gaussianity.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ def gaussianity(
)(gaussian_parspace_samples, bestfit_pars)

diffs = relative_nlls_model - relative_nlls_gaussian
return jnp.nanmean(diffs ** 2, axis=0)
return jnp.nanmean(diffs**2, axis=0)

0 comments on commit d0c54c1

Please sign in to comment.