Skip to content

Commit

Permalink
Fix pre-commits complaints
Browse files Browse the repository at this point in the history
  • Loading branch information
lucmos committed Oct 12, 2023
1 parent 9afc52b commit aef8323
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
from typing import List, Mapping, Optional

import hydra
import omegaconf
import lightning.pytorch as pl
import omegaconf
from omegaconf import DictConfig
from torch.utils.data import DataLoader, Dataset
from torch.utils.data.dataloader import default_collate
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
from typing import Any, Dict, Mapping, Optional, Sequence, Tuple, Union

import hydra
import omegaconf
import lightning.pytorch as pl
import omegaconf
import torch
import torch.nn.functional as F
import torchmetrics
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
from typing import List, Optional

import hydra
import omegaconf
import lightning.pytorch as pl
import omegaconf
import torch
from omegaconf import DictConfig, ListConfig
from lightning.pytorch import Callback
from omegaconf import DictConfig, ListConfig

from nn_core.callbacks import NNTemplateCore
from nn_core.common import PROJECT_ROOT
Expand Down
2 changes: 1 addition & 1 deletion {{ cookiecutter.repository_name }}/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
import pytest
from hydra import compose, initialize
from hydra.core.hydra_config import HydraConfig
from lightning.pytorch import seed_everything
from omegaconf import DictConfig, OmegaConf, open_dict
from pytest import FixtureRequest, TempPathFactory
from lightning.pytorch import seed_everything

from nn_core.serialization import NNCheckpointIO

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
from pathlib import Path
from typing import Any, Dict

from omegaconf import DictConfig, OmegaConf
from lightning.pytorch import LightningModule
from lightning.pytorch.core.saving import _load_state
from omegaconf import DictConfig, OmegaConf

from nn_core.serialization import NNCheckpointIO
from tests.conftest import load_checkpoint
Expand Down

0 comments on commit aef8323

Please sign in to comment.