Skip to content

Commit

Permalink
add arg to put dict (#422)
Browse files Browse the repository at this point in the history
* add arg to put dict

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* [pre-commit.ci] pre-commit autoupdate (#421)

updates:
- [github.com/asottile/pyupgrade: v2.25.0 → v2.26.0](asottile/pyupgrade@v2.25.0...v2.26.0)
- [github.com/psf/black: 21.8b0 → 21.9b0](psf/black@21.8b0...21.9b0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
mo2561057 and pre-commit-ci[bot] committed Oct 6, 2022
1 parent 19b9602 commit 511df87
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repos:
- id: debug-statements
- id: end-of-file-fixer
- repo: https://github.com/asottile/pyupgrade
rev: v2.25.0
rev: v2.26.0
hooks:
- id: pyupgrade
args: [--py36-plus]
Expand All @@ -19,7 +19,7 @@ repos:
hooks:
- id: reorder-python-imports
- repo: https://github.com/psf/black
rev: 21.8b0
rev: 21.9b0
hooks:
- id: black
- repo: https://github.com/asottile/blacken-docs
Expand Down
1 change: 1 addition & 0 deletions respy/method_of_simulated_moments.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ def moment_errors(
if not return_scalar:
out = {
"value": out,
"moment_errors": moment_errors,
"root_contributions": moment_errors @ np.sqrt(weighting_matrix),
"comparison_plot_data": _create_comparison_plot_data_msm(
empirical_moments, simulated_moments
Expand Down

0 comments on commit 511df87

Please sign in to comment.