Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ repos:


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

- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.8.0"
rev: "v1.9.0"
hooks:
- id: mypy
additional_dependencies:
Expand Down
1 change: 1 addition & 0 deletions src/dolphin/_log.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
# Custom output for this module:
logger.success("Something great happened: highlight this success")
"""

import logging
import os
import sys
Expand Down
1 change: 1 addition & 0 deletions src/dolphin/interferogram.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Combine estimated DS phases with PS phases to form interferograms."""

from __future__ import annotations

import itertools
Expand Down
3 changes: 1 addition & 2 deletions src/dolphin/io/_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ class BlockProcessor(Protocol):

def __call__(
self, readers: Sequence[StackReader], rows: slice, cols: slice
) -> tuple[ArrayLike, slice, slice]:
...
) -> tuple[ArrayLike, slice, slice]: ...


def process_blocks(
Expand Down
1 change: 1 addition & 0 deletions src/dolphin/phase_link/metrics.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module for computing quality metrics of estimated solutions."""

import jax.numpy as jnp
from jax import Array, jit, vmap
from jax.typing import ArrayLike
Expand Down
1 change: 1 addition & 0 deletions src/dolphin/ps.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Find the persistent scatterers in a stack of SLCS."""

from __future__ import annotations

import shutil
Expand Down
1 change: 1 addition & 0 deletions src/dolphin/stitching.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""stitching.py: utilities for combining interferograms into larger images."""

from __future__ import annotations

import math
Expand Down
3 changes: 1 addition & 2 deletions src/dolphin/timeseries.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,8 +391,7 @@ def read_and_fit(
class AverageFunc(Protocol):
"""Protocol for temporally averaging a block of data."""

def __call__(self, ArrayLike, axis: int) -> ArrayLike:
...
def __call__(self, ArrayLike, axis: int) -> ArrayLike: ...


def create_temporal_average(
Expand Down
1 change: 1 addition & 0 deletions src/dolphin/workflows/single.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Estimate wrapped phase for one ministack of SLCs."""

from __future__ import annotations

from dataclasses import dataclass
Expand Down
1 change: 1 addition & 0 deletions src/dolphin/workflows/stitching_bursts.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Stitch burst interferograms (optional) and unwrap them."""

from __future__ import annotations

from pathlib import Path
Expand Down
1 change: 1 addition & 0 deletions src/dolphin/workflows/unwrapping.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Stitch burst interferograms (optional) and unwrap them."""

from __future__ import annotations

from pathlib import Path
Expand Down