From 3f4fba4f24398b634dcf636cdb216d6793e5f07e Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 6 Aug 2024 00:14:20 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/compaction/landlab.py | 1 + tests/test_compaction.py | 1 + tests/test_component.py | 1 + 3 files changed, 3 insertions(+) diff --git a/src/compaction/landlab.py b/src/compaction/landlab.py index 085ce44..fa1199d 100644 --- a/src/compaction/landlab.py +++ b/src/compaction/landlab.py @@ -1,4 +1,5 @@ """Compact layers of sediment due to overlying load.""" + from landlab import Component # type: ignore from scipy.constants import g # type: ignore diff --git a/tests/test_compaction.py b/tests/test_compaction.py index 7a8eabb..87bb627 100644 --- a/tests/test_compaction.py +++ b/tests/test_compaction.py @@ -1,4 +1,5 @@ """Unit tests for compaction.""" + from io import StringIO import numpy as np # type: ignore diff --git a/tests/test_component.py b/tests/test_component.py index af736a6..49ab3d6 100644 --- a/tests/test_component.py +++ b/tests/test_component.py @@ -1,4 +1,5 @@ """Unit tests for compaction landlab component.""" + import numpy as np # type: ignore from landlab import RasterModelGrid # type: ignore from numpy.testing import assert_array_almost_equal # type: ignore