Skip to content

Commit

Permalink
fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
Hertz4 committed Jul 4, 2024
1 parent 1c70776 commit c86217d
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/adapol/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from .hybfit import hybfit, hybfit_triqs, check_weight_psd
from .hybfit import hybfit, hybfit_triqs
from .anacont import anacont

from .fit_utils import check_psd

Check failure on line 3 in src/adapol/__init__.py

View workflow job for this annotation

GitHub Actions / build (3.9)

Ruff (F401)

src/adapol/__init__.py:3:24: F401 `.fit_utils.check_psd` imported but unused; consider removing, adding to `__all__`, or using a redundant alias

Check failure on line 3 in src/adapol/__init__.py

View workflow job for this annotation

GitHub Actions / build (3.10)

Ruff (F401)

src/adapol/__init__.py:3:24: F401 `.fit_utils.check_psd` imported but unused; consider removing, adding to `__all__`, or using a redundant alias

Check failure on line 3 in src/adapol/__init__.py

View workflow job for this annotation

GitHub Actions / build (3.11)

Ruff (F401)

src/adapol/__init__.py:3:24: F401 `.fit_utils.check_psd` imported but unused; consider removing, adding to `__all__`, or using a redundant alias

Check failure on line 3 in src/adapol/__init__.py

View workflow job for this annotation

GitHub Actions / build (3.12)

Ruff (F401)

src/adapol/__init__.py:3:24: F401 `.fit_utils.check_psd` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
__all__ = ["hybfit", "hybfit_triqs", "check_weight_psd", "anacont"]
1 change: 1 addition & 0 deletions src/adapol/anacont.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import numpy as np
from .fit_utils import pole_fitting, eval_with_pole

def anacont(
Delta,
Expand Down
3 changes: 2 additions & 1 deletion src/adapol/hybfit.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from .fit_utils import pole_fitting, eval_with_pole, check_psd
import numpy as np
from .fit_utils import pole_fitting, eval_with_pole

def hybfit(
Delta,
Expand Down
3 changes: 2 additions & 1 deletion test/test_discrete.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import pytest # noqa
import numpy as np
import scipy
from adapol import hybfit, hybfit_triqs
from adapol.hybfit import hybfit, hybfit_triqs



def make_Delta_with_random_discrete_pole(Np, Z):
Expand Down
2 changes: 1 addition & 1 deletion test/test_semicircle.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import pytest # noqa
import numpy as np
import scipy
from adapol import hybfit, hybfit_triqs
from adapol.hybfit import hybfit, hybfit_triqs


def Kw(w, v):
Expand Down

0 comments on commit c86217d

Please sign in to comment.