Skip to content

Commit

Permalink
fix ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
jalving committed Dec 8, 2024
1 parent 615af7c commit cf87696
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -338,8 +338,9 @@
"X = np.array(X).reshape(3, 2)\n",
"edges = np.transpose(np.array(edges)).reshape(2, -1)\n",
"nn.eval()\n",
"# TODO: update for latest torch.geometric\n",
"# print(nn1(torch.tensor(X).float(), torch.tensor(edges)).detach().numpy())"
"# TODO @zshiqiang: update for latest torch.geometric # noqa: FIX002\n",
"# https://github.com/cog-imperial/OMLT/issues/166\n",
"# print(nn1(torch.tensor(X).float(), torch.tensor(edges)).detach().numpy()) : noqa: ERA001"
]
},
{
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ extend-exclude = ["src/omlt/_version.py"]
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"ANN101",
"ANN401",
"COM812",
"ISC001",
Expand Down

0 comments on commit cf87696

Please sign in to comment.