Skip to content

Commit

Permalink
chore: manually update GH action and pre-commit versions
Browse files Browse the repository at this point in the history
  • Loading branch information
mdtanker committed Feb 22, 2024
1 parent 93b6cfc commit 46d9357
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pypi_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: hynek/build-and-inspect-python-package@v1
- uses: hynek/build-and-inspect-python-package@v2

# Upload to Test PyPI.
release-test-pypi:
Expand All @@ -39,7 +39,7 @@ jobs:
with:
name: Packages
path: dist
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4

- name: Upload package to Test PyPI
with:
Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ repos:
additional_dependencies: [black==23.7.0]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.1.6"
rev: "v0.2.2"
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]
Expand Down Expand Up @@ -66,14 +66,14 @@ repos:
- id: rst-inline-touching-normal

- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v3.1.0"
rev: "v4.0.0-alpha.8"
hooks:
- id: prettier
types_or: [yaml, markdown, html, css, scss, javascript, json]
args: [--prose-wrap=always]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.7.1"
rev: "v1.8.0"
hooks:
- id: mypy
files: src|tests
Expand Down
2 changes: 1 addition & 1 deletion src/invert4geom/inversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -850,7 +850,7 @@ def run_inversion(
)

# set starting delta L2 norm to positive infinity
delta_l2_norm = np.Inf
delta_l2_norm = np.inf

# iteration times
iter_times = []
Expand Down

0 comments on commit 46d9357

Please sign in to comment.