diff --git a/src/cdd/__init__.pyi b/src/cdd/__init__.pyi index cea612c..27a261b 100644 --- a/src/cdd/__init__.pyi +++ b/src/cdd/__init__.pyi @@ -95,9 +95,7 @@ def linprog_from_array( array: Sequence[Sequence[SupportsNumber]], obj: LPObj ) -> LinProg: ... def linprog_from_matrix(mat: Matrix) -> LinProg: ... -def linprog_solve( - lp: LinProg, solver: LPSolver = LPSolver.DUAL_SIMPLEX -) -> None: ... +def linprog_solve(lp: LinProg, solver: LPSolver = LPSolver.DUAL_SIMPLEX) -> None: ... def matrix_append_to(mat1: Matrix, mat2: Matrix) -> None: ... def matrix_canonicalize(mat: Matrix) -> tuple[Set[int], Set[int]]: ... def matrix_copy(mat: Matrix) -> Matrix: ... diff --git a/src/cdd/gmp.pyi b/src/cdd/gmp.pyi index f79ad10..5ec3a61 100644 --- a/src/cdd/gmp.pyi +++ b/src/cdd/gmp.pyi @@ -63,9 +63,7 @@ def linprog_from_array( array: Sequence[Sequence[SupportsNumber]], obj: LPObj ) -> LinProg: ... def linprog_from_matrix(mat: Matrix) -> LinProg: ... -def linprog_solve( - lp: LinProg, solver: LPSolver = LPSolver.DUAL_SIMPLEX -) -> None: ... +def linprog_solve(lp: LinProg, solver: LPSolver = LPSolver.DUAL_SIMPLEX) -> None: ... def matrix_append_to(mat1: Matrix, mat2: Matrix) -> None: ... def matrix_canonicalize(mat: Matrix) -> tuple[Set[int], Set[int]]: ... def matrix_copy(mat: Matrix) -> Matrix: ... diff --git a/test/gmp/test_enums.py b/test/gmp/test_enums.py index f171bf3..33b243e 100644 --- a/test/gmp/test_enums.py +++ b/test/gmp/test_enums.py @@ -6,9 +6,7 @@ import cdd.gmp -@pytest.mark.parametrize( - "name", ["Rep", "LPObj", "LPStatus", "LPSolver"] -) +@pytest.mark.parametrize("name", ["Rep", "LPObj", "LPStatus", "LPSolver"]) def test_gmp_rep(name: str) -> None: assert issubclass(getattr(cdd, name), IntEnum) assert getattr(cdd, name) is getattr(cdd.gmp, name)