Skip to content

Commit

Permalink
fix ruff isort.known-third-party = ["wandb"]
Browse files Browse the repository at this point in the history
  • Loading branch information
janosh committed Jun 13, 2024
1 parent bc87fd0 commit 508abef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ ignore = [
pydocstyle.convention = "google"
isort.required-imports = ["from __future__ import annotations"]
isort.split-on-trailing-comma = false
isort.known-third-party = ["wandb"]

[tool.ruff.format]
docstring-code-format = true
Expand Down
2 changes: 1 addition & 1 deletion tests/test_trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
import numpy as np
import pytest
import torch
import wandb
from pymatgen.core import Lattice, Structure

import wandb
from chgnet.data.dataset import StructureData, get_train_val_test_loader
from chgnet.model import CHGNet
from chgnet.trainer import Trainer
Expand Down

0 comments on commit 508abef

Please sign in to comment.