Skip to content

Commit fe34072

Browse files
committed
style: adjust to latest black version
1 parent cff59d6 commit fe34072

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Diff for: src/cobra/core/gene.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ def from_symbolic(cls, sympy_gpr: Union[spl.BooleanFunction, Symbol]) -> "GPR":
680680
"""
681681

682682
def _sympy_to_ast(
683-
sympy_expr: Union[spl.BooleanFunction, Symbol]
683+
sympy_expr: Union[spl.BooleanFunction, Symbol],
684684
) -> Union[BoolOp, Name]:
685685
if sympy_expr.func is spl.Or:
686686
return BoolOp(

Diff for: src/cobra/io/dict.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868

6969

7070
def _fix_type(
71-
value: Union[str, float, bool, Set, Dict]
71+
value: Union[str, float, bool, Set, Dict],
7272
) -> Union[str, float, bool, List, OrderedDict]:
7373
"""Convert possible types to correct Python types.
7474

Diff for: tests/test_core/test_solution.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111

1212
def test_solution_contains_only_reaction_specific_values(
13-
solved_model: Tuple[Solution, "Model"]
13+
solved_model: Tuple[Solution, "Model"],
1414
) -> None:
1515
"""Test solution contains specific reaction values."""
1616
solution, model = solved_model

0 commit comments

Comments
 (0)