Skip to content

Commit

Permalink
Merge branch '0.7.2' into indexed-color
Browse files Browse the repository at this point in the history
  • Loading branch information
AnonymouX47 committed May 30, 2024
2 parents 5421b2b + 3595d04 commit bf0c509
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 13 deletions.
17 changes: 10 additions & 7 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
Pillow==9.4.0
black==22.12.0
flake8==5.0.4
isort[colors]==5.12.0;python_version>="3.8"
black==23.12.1;python_version>="3.8"
black==23.3.0;python_version<"3.8"
flake8==7.0.0;python_version>="3.8.1"
flake8==5.0.4;python_version<"3.8.1"
isort[colors]==5.13.2;python_version>="3.8"
isort[colors]==5.11.4;python_version<"3.8"
pytest==7.2.0
requests==2.28.1
urwid==2.1.2
pillow==10.3.0
pytest==8.2.1;python_version>="3.8"
pytest==7.4.4;python_version<"3.8"
requests==2.32.2
urwid==2.6.12
1 change: 0 additions & 1 deletion src/term_image/image/kitty.py
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,6 @@ def __post_init__(self):


class _ControlData: # Currently Unused

i: Optional[int] = None # image ID
d: Optional[str] = None # delete images
m: Optional[int] = None # payload chunk
Expand Down
1 change: 0 additions & 1 deletion tests/test_image/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,6 @@ def get_render_data(self, img=None, alpha=None, **kwargs):
)

def test_alpha(self):

# float
for alpha in (0.0, _ALPHA_THRESHOLD, 0.999):
img, _, a = self.get_render_data(alpha=alpha)
Expand Down
4 changes: 0 additions & 4 deletions tests/test_widget/test_urwid.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,6 @@ def test_args(self):
with pytest.raises(TypeError, match="'upscale'"):
UrwidImage(python_image, upscale=value)

def test_attributes(self):
image_w = UrwidImage(python_image)
assert all(name.startswith("_ti_") for name in vars(image_w))

def test_image(self):
image_w = UrwidImage(python_image)
assert image_w.image is python_image
Expand Down

0 comments on commit bf0c509

Please sign in to comment.