Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
anikaweinmann committed Jun 5, 2024
1 parent 456f02b commit 696285a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/grass_gis_helpers/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ def get_number_of_grass_elements():


def check_number_of_grass_elements(
ref_num_rast, ref_num_vect, ref_num_gr, ref_num_reg, ref_num_mapsets
):
ref_num_rast, ref_num_vect, ref_num_gr, ref_num_reg, ref_num_mapsets
):
"""Check the number of grass elements
Args:
Expand All @@ -63,4 +63,6 @@ def check_number_of_grass_elements(
(n_reg, ref_num_reg, "regions"),
(n_mapsets, ref_num_mapsets, "mapsets"),
]:
assert num == ref, f"The number of {data_type} is {num} but should be {ref}"
assert (
num == ref
), f"The number of {data_type} is {num} but should be {ref}"

0 comments on commit 696285a

Please sign in to comment.