Skip to content

Commit

Permalink
Run black+isort on Python files
Browse files Browse the repository at this point in the history
  • Loading branch information
robertodr committed Aug 26, 2023
1 parent 3228706 commit 5c4b91c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/vampyr/tests/test_convolutions_3d.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import numpy as np
import pytest

from vampyr import vampyr3d as vp
from vampyr import vampyr1d as vp1
from vampyr import vampyr3d as vp

epsilon = 1.0e-3
mu = epsilon / 10
Expand All @@ -23,6 +23,7 @@
vp.advanced.build_grid(out=ftree, inp=ffunc)
vp.advanced.project(prec=epsilon, out=ftree, inp=ffunc)


def test_GaussKernel():
b = 1.0e4
a = (b / np.pi) ** (D / 2.0)
Expand Down
3 changes: 2 additions & 1 deletion src/vampyr/tests/test_projector1d.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

from vampyr import vampyr1d as vp


def test_ScalingProjector():
def f(x):
return x
Expand All @@ -14,4 +15,4 @@ def f(x):
P_scaling(f)

with pytest.raises(Exception):
P_wavelet(f)
P_wavelet(f)
3 changes: 2 additions & 1 deletion src/vampyr/tests/test_projector3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

from vampyr import vampyr3d as vp


def test_ScalingProjector():
def f(x):
return x
Expand All @@ -14,4 +15,4 @@ def f(x):
P_scaling(f)

with pytest.raises(Exception):
P_wavelet(f)
P_wavelet(f)

0 comments on commit 5c4b91c

Please sign in to comment.