Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#12)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Jan 21, 2025
1 parent f8ae09f commit e88a6f4
Show file tree
Hide file tree
Showing 2 changed files with 4 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 @@ -10,7 +10,7 @@ repos:
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.6
rev: v0.9.2
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]
Expand Down
6 changes: 3 additions & 3 deletions tests/unit/test_crs.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@ def test_create_crs():
"""Test create crs transforms input info into array with metadata."""
crs_data_array = create_crs(sample_target_info)
assert 'crs_wkt' in crs_data_array.attrs
assert (
'NSIDC EASE-Grid 2.0 Global' in crs_data_array.crs_wkt
), f'expected "NSIDC EASE-Grid 2.0 Global" in {crs_data_array.crs_wkt}'
assert 'NSIDC EASE-Grid 2.0 Global' in crs_data_array.crs_wkt, (
f'expected "NSIDC EASE-Grid 2.0 Global" in {crs_data_array.crs_wkt}'
)
assert crs_data_array.attrs['proj'] == (
'+proj=cea +lat_ts=30 +lon_0=0 +x_0=0 '
'+y_0=0 +datum=WGS84 +units=m +no_defs +type=crs'
Expand Down

0 comments on commit e88a6f4

Please sign in to comment.