Skip to content

Commit a9347c6

Browse files
author
doctorpangloss
committed
Fix pylint error
1 parent 005459e commit a9347c6

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

comfy/utils.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ class ModelCheckpoint:
5757

5858
ModelCheckpoint.__module__ = "pytorch_lightning.callbacks.model_checkpoint"
5959

60-
from numpy.core.multiarray import scalar
60+
from numpy.core.multiarray import scalar # pylint: disable=no-name-in-module
6161
from numpy import dtype
62-
from numpy.dtypes import Float64DType
62+
from numpy.dtypes import Float64DType # pylint: disable=no-name-in-module
6363
from _codecs import encode
6464

6565
torch.serialization.add_safe_globals([ModelCheckpoint, scalar, dtype, Float64DType, encode])

requirements.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -69,4 +69,5 @@ skia-python
6969
pebble>=5.0.7
7070
openai
7171
anthropic
72-
humanize
72+
humanize
73+
lightning

0 commit comments

Comments
 (0)