Skip to content

Commit

Permalink
chore: update pre-commit hooks (#41)
Browse files Browse the repository at this point in the history
* chore: update pre-commit hooks

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.2.2 → v0.3.2](astral-sh/ruff-pre-commit@v0.2.2...v0.3.2)

* style: pre-commit fixes

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Mar 12, 2024
1 parent 8a6d616 commit 3e14002
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ repos:
args: [--prose-wrap=always]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.2.2"
rev: "v0.3.2"
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]
Expand Down
4 changes: 1 addition & 3 deletions src/cats/proper_motions.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,7 @@ def __init__(
self.data, x_width=3.0, y_width=3.0, draw_histograms=True
)
print(
"Post-fitting (pm1_mean, pm2_mean, pm1_std, pm2_std): {} \n".format(
peak_locations
)
f"Post-fitting (pm1_mean, pm2_mean, pm1_std, pm2_std): {peak_locations} \n"
)
# except:
# print('Skipping peak pm fitting')
Expand Down

0 comments on commit 3e14002

Please sign in to comment.