Skip to content

Commit 85f4059

Browse files
committed
[GEOPY-2661] pre-commit autoupdate + autofix
1 parent e292661 commit 85f4059

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ repos:
2222
- id: pycln
2323
args: [--config=pyproject.toml]
2424
- repo: https://github.com/astral-sh/ruff-pre-commit
25-
rev: v0.14.4
25+
rev: v0.15.2
2626
hooks:
2727
- id: ruff-check
2828
args:

simpeg_drivers/options.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
from __future__ import annotations
1313

14-
from enum import Enum
14+
from enum import Enum, StrEnum
1515
from logging import getLogger
1616
from pathlib import Path
1717
from typing import Annotated, Any, ClassVar, Literal
@@ -321,7 +321,7 @@ def gradient_orientations(self) -> tuple(float, float):
321321
return self._gradient_orientations
322322

323323

324-
class ModelTypeEnum(str, Enum):
324+
class ModelTypeEnum(StrEnum):
325325
conductivity = "Conductivity (S/m)"
326326
resistivity = "Resistivity (Ohm-m)"
327327

0 commit comments

Comments
 (0)