Skip to content

Commit

Permalink
style: pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] authored and mdtanker committed Oct 9, 2024
1 parent 8f3494c commit 7802143
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/test_inversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def dummy_jacobian_square() -> NDArray:
################


@pytest.mark.use_numba
@pytest.mark.use_numba()
def test_grav_column_der_relative_values():
"""
test the grav_column_der function
Expand Down Expand Up @@ -275,7 +275,7 @@ def test_grav_column_der_relative_values():
assert h < a


@pytest.mark.use_numba
@pytest.mark.use_numba()
def test_grav_column_der():
"""
test the grav_column_der function against a small prism approximation
Expand Down Expand Up @@ -306,7 +306,7 @@ def test_grav_column_der():
assert dg_z == pytest.approx(hm_dg_z, rel=1e-2)


@pytest.mark.use_numba
@pytest.mark.use_numba()
def test_jacobian_annular():
"""
test the jacobian_annular function
Expand Down Expand Up @@ -359,7 +359,7 @@ def test_prism_properties_error():
inversion._prism_properties(prisms_layer, method="wrong_input")


@pytest.mark.use_numba
@pytest.mark.use_numba()
def test_jacobian_prism():
"""
test the jacobian_prism function
Expand All @@ -385,7 +385,7 @@ def test_jacobian_prism():
assert jac[:, 0:-3].min() > 0


@pytest.mark.use_numba
@pytest.mark.use_numba()
def test_jacobian():
"""
test the jacobian dispatcher function
Expand Down Expand Up @@ -470,7 +470,7 @@ def test_solver_square_error():
]


@pytest.mark.use_numba
@pytest.mark.use_numba()
@pytest.mark.parametrize("solver_type", solver_types)
def test_solver_square(solver_type):
"""
Expand Down

0 comments on commit 7802143

Please sign in to comment.