Skip to content

Commit

Permalink
ruff once more
Browse files Browse the repository at this point in the history
  • Loading branch information
levtelyatnikov committed Apr 30, 2024
1 parent 75f366d commit 863c2f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/transforms/data_manipulations/manipulations.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ def forward(self, data: torch_geometric.data.Data):
if len(self.parameters["keep_fields"]) == 1:
return data

for key, _ in data.items():
for key, _ in data.items(): # noqa : PERF102
if key not in self.parameters["keep_fields"]:
del data[key]

Expand Down

0 comments on commit 863c2f2

Please sign in to comment.