Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#458)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.6.9 → v0.7.0](astral-sh/ruff-pre-commit@v0.6.9...v0.7.0)
- [github.com/pre-commit/mirrors-mypy: v1.11.2 → v1.12.1](pre-commit/mirrors-mypy@v1.11.2...v1.12.1)

* ignore sim115

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Scott Staniewicz <[email protected]>
  • Loading branch information
pre-commit-ci[bot] and scottstanie authored Oct 22, 2024
1 parent cab1f00 commit b59c764
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ repos:
args: [--preview]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.9
rev: v0.7.0
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix, --show-fixes]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.11.2"
rev: "v1.12.1"
hooks:
- id: mypy
additional_dependencies:
Expand Down
2 changes: 1 addition & 1 deletion src/dolphin/io/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def repack_raster(
import rasterio as rio

if output_dir is None:
output_file = tempfile.NamedTemporaryFile(
output_file = tempfile.NamedTemporaryFile( # noqa: SIM115
suffix=raster_path.suffix, dir=output_dir, delete=False
)
output_path = Path(output_file.name)
Expand Down

0 comments on commit b59c764

Please sign in to comment.