Skip to content

Commit 12bbec1

Browse files
fix pep8
1 parent 00bc135 commit 12bbec1

File tree

6 files changed

+7
-24
lines changed

6 files changed

+7
-24
lines changed

test/gromov/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +0,0 @@
1-
# -*- coding: utf-8 -*-
2-

test/gromov/test_bregman.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Tests for module gromov """
1+
""" Tests for gromov._bregman.py """
22

33
# Author: Erwan Vautier <erwan.vautier@gmail.com>
44
# Nicolas Courty <ncourty@irisa.fr>

test/gromov/test_dictionary.py

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,12 @@
1-
"""Tests for module gromov """
1+
""" Tests for gromov._dictionary.py """
22

3-
# Author: Erwan Vautier <erwan.vautier@gmail.com>
4-
# Nicolas Courty <ncourty@irisa.fr>
5-
# Titouan Vayer <titouan.vayer@irisa.fr>
6-
# Cédric Vincent-Cuaz <cedvincentcuaz@gmail.com>
3+
# Author: Cédric Vincent-Cuaz <cedvincentcuaz@gmail.com>
74
#
85
# License: MIT License
96

107
import numpy as np
11-
import pytest
12-
import warnings
138

149
import ot
15-
from ot.backend import NumpyBackend
16-
from ot.backend import torch, tf
1710

1811

1912
def test_gromov_wasserstein_linear_unmixing(nx):

test/gromov/test_estimators.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Tests for module gromov """
1+
""" Tests for gromov._estimators.py """
22

33
# Author: Erwan Vautier <erwan.vautier@gmail.com>
44
# Nicolas Courty <ncourty@irisa.fr>
@@ -9,11 +9,9 @@
99

1010
import numpy as np
1111
import pytest
12-
import warnings
1312

1413
import ot
1514
from ot.backend import NumpyBackend
16-
from ot.backend import torch, tf
1715

1816

1917
def test_pointwise_gromov(nx):

test/gromov/test_gw.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Tests for module gromov """
1+
""" Tests for gromov._gw.py """
22

33
# Author: Erwan Vautier <erwan.vautier@gmail.com>
44
# Nicolas Courty <ncourty@irisa.fr>

test/gromov/test_semirelaxed.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,13 @@
1-
"""Tests for module gromov """
1+
""" Tests for gromov._semirelaxed.py """
22

3-
# Author: Erwan Vautier <erwan.vautier@gmail.com>
4-
# Nicolas Courty <ncourty@irisa.fr>
5-
# Titouan Vayer <titouan.vayer@irisa.fr>
6-
# Cédric Vincent-Cuaz <cedvincentcuaz@gmail.com>
3+
# Author: Cédric Vincent-Cuaz <cedvincentcuaz@gmail.com>
74
#
85
# License: MIT License
96

107
import numpy as np
118
import pytest
12-
import warnings
139

1410
import ot
15-
from ot.backend import NumpyBackend
16-
from ot.backend import torch, tf
1711

1812

1913
def test_semirelaxed_gromov(nx):

0 commit comments

Comments
 (0)