Skip to content

Commit

Permalink
Linting with black
Browse files Browse the repository at this point in the history
oops forgot to do this before previous push
  • Loading branch information
emprzy committed Jan 16, 2025
1 parent 9207dbb commit 6cc9696
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion flepimop/gempyor_pkg/src/gempyor/seir.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def check_parameter_positivity(
non_redundant_negative_parameters = np.delete(
negative_index_parameters, (redundant_rows), axis=0
)

neg_subpops = []
neg_params = []
first_neg_date = dates[0].date()
Expand Down
8 changes: 2 additions & 6 deletions flepimop/gempyor_pkg/tests/seir/test_seir.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,7 @@ def test_check_parameter_positivity():

with pytest.raises(
ValueError,
match=(
rf"There are negative parameter errors in subpops {test_2_neg_subpops}"
),
match=(rf"There are negative parameter errors in subpops {test_2_neg_subpops}"),
):
seir.check_parameter_positivity(
test_array2, parameter_names, dates, subpop_names
Expand All @@ -100,9 +98,7 @@ def test_check_parameter_positivity():

with pytest.raises(
ValueError,
match=(
rf"TThere are negative parameter errors in subpops {test_3_neg_subpops}"
),
match=(rf"TThere are negative parameter errors in subpops {test_3_neg_subpops}"),
):
seir.check_parameter_positivity(
test_array3, parameter_names, dates, subpop_names
Expand Down

0 comments on commit 6cc9696

Please sign in to comment.