Skip to content

Commit bdc1cd4

Browse files
[pre-commit.ci] pre-commit autoupdate (#44)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent e55ec11 commit bdc1cd4

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ repos:
1010
- id: check-yaml
1111
- id: check-added-large-files
1212
- repo: https://github.com/astral-sh/ruff-pre-commit
13-
rev: v0.8.6
13+
rev: v0.9.3
1414
hooks:
1515
- id: ruff
1616
args: ["--fix", "--show-fixes"]

harmony_service/adapter.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,7 @@ def validate_message(self):
5656
if has_scale_extents(self.message) or has_scale_sizes(self.message):
5757
if not has_crs(self.message):
5858
raise HyBIGInvalidMessageError(
59-
'Harmony message must include a crs '
60-
'with scaleExtent or scaleSizes.'
59+
'Harmony message must include a crs with scaleExtent or scaleSizes.'
6160
)
6261

6362
if not has_valid_scale_extents(self.message):

hybig/browse.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ def get_tiled_filename(input_file: Path, locator: dict | None = None) -> Path:
456456
"""
457457
if locator is not None:
458458
return input_file.with_suffix(
459-
f".r{int(locator['row']):02d}c{int(locator['col']):02d}{input_file.suffix}"
459+
f'.r{int(locator["row"]):02d}c{int(locator["col"]):02d}{input_file.suffix}'
460460
)
461461
return input_file
462462

0 commit comments

Comments
 (0)