Skip to content

Commit

Permalink
Fix flake8 errors
Browse files Browse the repository at this point in the history
  • Loading branch information
santisoler committed Aug 18, 2023
1 parent d5d40be commit b21b35f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions harmonica/_forward/tesseroid.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ def dispatcher(parallel, density):
return dispatchers[parallel]


def jit_tesseroid_gravity(
def jit_tesseroid_gravity( # noqa: CFQ002
coordinates,
tesseroids,
density,
Expand Down Expand Up @@ -337,7 +337,7 @@ def jit_tesseroid_gravity(
progress_proxy.update(1)


def jit_tesseroid_gravity_variable_density(
def jit_tesseroid_gravity_variable_density( # noqa: CFQ002
coordinates,
tesseroids,
density,
Expand Down
4 changes: 2 additions & 2 deletions harmonica/tests/test_prism.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,8 +366,8 @@ def test_progress_bar(self, coordinates, prisms, densities, field):
@patch("harmonica._forward.utils.ProgressBar", None)
def test_numba_progress_missing_error(self, coordinates, prisms, densities):
"""
Check if error is raised when progresbar=True and numba_progress package
is not installed.
Check if error is raised when progresbar=True and numba_progress
package is not installed.
"""
# Check if error is raised
with pytest.raises(ImportError):
Expand Down

0 comments on commit b21b35f

Please sign in to comment.