Skip to content

Commit

Permalink
lint code
Browse files Browse the repository at this point in the history
  • Loading branch information
epistoteles committed Jun 27, 2024
1 parent 8e20c7d commit 7548514
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tensorhue/connectors/_pillow.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import numpy as np


def _tensorhue_to_numpy_pillow(image, thumbnail, max_size, *args, **kwargs) -> np.ndarray:
def _tensorhue_to_numpy_pillow(image, thumbnail, max_size) -> np.ndarray:
try:
image = image.convert("RGB")
except Exception as e:
Expand Down
2 changes: 1 addition & 1 deletion tests/test_connector_pillow.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from PIL import Image
import os
from PIL import Image
import pytest
from tensorhue.connectors._pillow import _tensorhue_to_numpy_pillow

Expand Down
2 changes: 1 addition & 1 deletion tests/test_viz.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import os
import pytest
import torch
import jax.numpy as jnp
import tensorflow as tf
import numpy as np
from PIL import Image
import os
from tensorhue.viz import viz
from tensorhue.connectors._torch import _tensorhue_to_numpy_torch
from tensorhue.connectors._jax import _tensorhue_to_numpy_jax
Expand Down

0 comments on commit 7548514

Please sign in to comment.