Skip to content

Commit b81dc4e

Browse files
using # noqa instead of splitting long line into two
1 parent 036a0e0 commit b81dc4e

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

mantra/simplicial.py

+1-5
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,7 @@ def __init__(
4848
self.manifold = manifold
4949
root += "/simplicial"
5050
self.version = version
51-
url_prefix = "https://github.com/aidos-lab/MANTRADataset/releases/"
52-
url_suffix = (
53-
f"{self.version}/download/{self.manifold}_manifolds.json.gz"
54-
)
55-
self.url = url_prefix + url_suffix
51+
self.url = f"https://github.com/aidos-lab/MANTRADataset/releases/{self.version}/download/{self.manifold}_manifolds.json.gz" # noqa
5652
super().__init__(root, transform, pre_transform, pre_filter)
5753
self.load(self.processed_paths[0])
5854

0 commit comments

Comments
 (0)