From 5beb1c25b84f593a7aba53239ba00d0d8783efc3 Mon Sep 17 00:00:00 2001 From: Thomas Schmelzer Date: Sun, 27 Oct 2024 17:30:40 +1100 Subject: [PATCH] fmt --- cvx/risk/factor/factor.py | 2 +- cvx/risk/sample/sample.py | 2 +- tests/test_risk/test_factor/test_factor.py | 2 +- tests/test_risk/test_linalg/test_cholesky.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cvx/risk/factor/factor.py b/cvx/risk/factor/factor.py index 5b0a52aa..4395fe48 100644 --- a/cvx/risk/factor/factor.py +++ b/cvx/risk/factor/factor.py @@ -20,8 +20,8 @@ import cvxpy as cvx import numpy as np -from ..linalg import cholesky from ..bounds import Bounds +from ..linalg import cholesky from ..model import Model diff --git a/cvx/risk/sample/sample.py b/cvx/risk/sample/sample.py index 78285977..f0933e35 100644 --- a/cvx/risk/sample/sample.py +++ b/cvx/risk/sample/sample.py @@ -20,8 +20,8 @@ import cvxpy as cvx import numpy as np -from ..linalg import cholesky from ..bounds import Bounds +from ..linalg import cholesky from ..model import Model diff --git a/tests/test_risk/test_factor/test_factor.py b/tests/test_risk/test_factor/test_factor.py index 0cb1ca7c..990ec680 100644 --- a/tests/test_risk/test_factor/test_factor.py +++ b/tests/test_risk/test_factor/test_factor.py @@ -5,10 +5,10 @@ import pandas as pd import pytest -from cvx.risk.linalg import pca as principal_components from cvx.portfolio.min_risk import minrisk_problem from cvx.random import rand_cov from cvx.risk.factor import FactorModel +from cvx.risk.linalg import pca as principal_components @pytest.fixture() diff --git a/tests/test_risk/test_linalg/test_cholesky.py b/tests/test_risk/test_linalg/test_cholesky.py index c3c1a606..aa5eefe2 100644 --- a/tests/test_risk/test_linalg/test_cholesky.py +++ b/tests/test_risk/test_linalg/test_cholesky.py @@ -2,8 +2,8 @@ import numpy as np -from cvx.risk.linalg import cholesky from cvx.random import rand_cov +from cvx.risk.linalg import cholesky def test_cholesky():