Skip to content

Commit

Permalink
try fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bojiang committed Dec 23, 2021
1 parent 78f6605 commit 74794c0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bentoml/_internal/frameworks/pytorch_lightning.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import typing as t
from typing import TYPE_CHECKING

import setuptools # type: ignore[reportUnusedImport]
import setuptools # type: ignore[reportUnusedImport] noqa: F401
from simple_di import inject
from simple_di import Provide

Expand Down
7 changes: 5 additions & 2 deletions tests/integration/frameworks/test_pytorch_lightning_impl.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
import math

import torch
import pandas as pd
import psutil
import pytest
import torch.nn as nn
import pytorch_lightning as pl
import setuptools # type: ignore[reportUnusedImport] noqa: F401

import bentoml
from tests.utils.helpers import assert_have_file_extension

import torch # isort:skip
import pytorch_lightning as pl # isort:skip


test_df = pd.DataFrame([[5, 4, 3, 2]])


Expand Down

0 comments on commit 74794c0

Please sign in to comment.