Skip to content

Commit

Permalink
using # noqa instead of splitting long line into two
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbinschmid committed Jun 11, 2024
1 parent 036a0e0 commit b81dc4e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions mantra/simplicial.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,7 @@ def __init__(
self.manifold = manifold
root += "/simplicial"
self.version = version
url_prefix = "https://github.com/aidos-lab/MANTRADataset/releases/"
url_suffix = (
f"{self.version}/download/{self.manifold}_manifolds.json.gz"
)
self.url = url_prefix + url_suffix
self.url = f"https://github.com/aidos-lab/MANTRADataset/releases/{self.version}/download/{self.manifold}_manifolds.json.gz" # noqa
super().__init__(root, transform, pre_transform, pre_filter)
self.load(self.processed_paths[0])

Expand Down

0 comments on commit b81dc4e

Please sign in to comment.