Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 5, 2025
1 parent e5e5447 commit 7f96dc6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion graphs/src/anemoi/graphs/edges/attributes.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from __future__ import annotations

import logging
from abc import ABC, ABCMeta
from abc import ABC

import torch
from torch_geometric.data.storage import NodeStorage
Expand Down
4 changes: 1 addition & 3 deletions graphs/tests/edges/test_edge_attributes.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,16 @@
# nor does it submit to any jurisdiction.


from typing import TYPE_CHECKING

import pytest
import torch
from torch_geometric.data import HeteroData

from anemoi.graphs.edges.attributes import AttributeFromSourceNode
from anemoi.graphs.edges.attributes import AttributeFromTargetNode
from anemoi.graphs.edges.attributes import EdgeDirection
from anemoi.graphs.edges.attributes import EdgeLength

from torch_geometric.data import HeteroData

TEST_EDGES = ("test_nodes", "to", "test_nodes")


Expand Down

0 comments on commit 7f96dc6

Please sign in to comment.