Commit Graph

5085 Commits

Author SHA1 Message Date
pre-commit-ci[bot]
b729f64810 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-03-30 15:30:55 +00:00
wiredfool
088f80d20d Fix mypy 2025-03-30 16:30:02 +01:00
wiredfool
48bbc64c72
Test Typing, consistency/style issues
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2025-03-30 14:50:00 +01:00
wiredfool
ae187cacb2
Apply suggestions from code review
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-03-29 23:18:48 +00:00
wiredfool
cca80e2a23 make mypy happy 2025-02-19 21:53:50 +00:00
wiredfool
e81b669fec Lint 2025-02-18 21:51:31 +00:00
pre-commit-ci[bot]
9021829f7e [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-02-18 19:56:43 +00:00
wiredfool
a0927be178 merge from main 2025-02-18 19:54:48 +00:00
Andrew Murray
5d40e6aead Test RGBX raw mode 2025-02-18 20:48:04 +11:00
Andrew Murray
4b7e75be2d Test errors 2025-02-18 20:47:17 +11:00
Andrew Murray
fe1cab6ea0
Merge pull request #8761 from hugovk/slice-startswith
Replace slice and comparison with `startswith`/`endswith`
2025-02-18 18:41:42 +11:00
Hugo van Kemenade
1e574e6f8b Replace slice and comparison with startswith 2025-02-17 23:39:33 +02:00
Andrew Murray
322e121a92 Corrected type check 2025-02-18 07:56:11 +11:00
Andrew Murray
fa58313c41
Merge pull request #8759 from radarhere/tar
Improve TarIO test coverage
2025-02-18 07:40:50 +11:00
Hugo van Kemenade
17541258c0
Merge pull request #8618 from radarhere/px 2025-02-17 13:30:17 +02:00
Hugo van Kemenade
3f111b986e
Merge pull request #8748 from radarhere/gif 2025-02-17 13:07:20 +02:00
Andrew Murray
19010bb301
Use match
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-02-17 21:49:08 +11:00
Andrew Murray
017b16b803
Removed argument
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-02-17 21:48:09 +11:00
Andrew Murray
152d982644 Test missing subfile 2025-02-17 20:20:45 +11:00
Andrew Murray
9762c9e30e Test unexpected end of tar file 2025-02-17 20:20:02 +11:00
Andrew Murray
7f414846a3 Don't shadow builtin open 2025-02-16 05:08:22 +11:00
Hugo van Kemenade
126026e5e5 Don't shadow builtin open 2025-02-15 16:35:07 +02:00
Hugo van Kemenade
028f0d6ea9 Remove unused data read 2025-02-15 16:35:07 +02:00
Hugo van Kemenade
ff960b8841 Remove debug Image._wedge 2025-02-15 16:35:07 +02:00
Andrew Murray
9f0398ef32 Removed unused code 2025-02-15 21:07:43 +11:00
wiredfool
9ff0465e89 merge from upstream/main 2025-02-14 17:58:43 +00:00
wiredfool
91e275965f split pyarrow tests out from plain loopback arrow tests 2025-02-14 17:47:43 +00:00
Andrew Murray
8f4bfe1fe5 Only crop when saving with disposal method 2 if transparency is present 2025-02-12 19:12:27 +11:00
Andrew Murray
8020d423bc Use monkeypatch 2025-02-12 18:36:14 +11:00
Andrew Murray
f4db366e41 Merge branch 'main' into px 2025-02-07 08:51:58 +11:00
Hugo van Kemenade
c73796dc1e
Merge pull request #8733 from radarhere/tuple 2025-02-06 13:19:29 +02:00
Hugo van Kemenade
a7524a34b2
Merge pull request #8727 from radarhere/getpixel 2025-02-06 13:17:26 +02:00
Andrew Murray
b19506a499 Simplify Python code by passing tuples to C 2025-02-05 19:12:50 +11:00
Andrew Murray
2810d7c6ba
Merge pull request #8721 from radarhere/justify
Added "justify" align for multiline text
2025-02-04 20:10:39 +11:00
Andrew Murray
00790e925d
Updated comment 2025-02-04 06:49:46 +11:00
pre-commit-ci[bot]
be3b0fd05c [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-02-03 17:43:10 +00:00
wiredfool
240175733e Add a way to force the use of the old block allocator
* Test that arrow can be exported when the block allocator is forced.
2025-02-03 17:42:22 +00:00
pre-commit-ci[bot]
955d678ca2 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-02-03 17:36:01 +00:00
pre-commit-ci[bot]
9f94d4f9f8 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-02-03 15:29:30 +00:00
wiredfool
e7bd152aac Error handling:
* Return memory error for allocation errors
* Return value error for invalid layout (block) or bad mode)
* Free children on releasing the array
* Only decrement refcount on the leaf array release
2025-02-03 15:23:55 +00:00
Andrew Murray
ce1996d804 Use getpixel() instead of load() 2025-02-03 19:32:59 +11:00
Andrew Murray
5bbbc46240 Fixed exceptions when closing AppendingTiffWriter 2025-02-01 01:13:30 +11:00
Hugo van Kemenade
b03f143df1
Merge pull request #8701 from radarhere/stroke_outside 2025-01-31 13:35:22 +02:00
Andrew Murray
10eaff8ac7 Added "justify" align for multiline text 2025-01-29 20:12:45 +11:00
Andrew Murray
a9d05a1e51
Fixed unclosed file warnings (#8705)
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-01-27 22:59:44 +02:00
Andrew Murray
e19a1496c2
Use monkeypatch (#8707)
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-01-27 12:17:51 +02:00
pre-commit-ci[bot]
d02417e411 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-01-25 16:25:44 +00:00
wiredfool
ad492ee4d8 Pull readonly in from the C level 2025-01-25 16:21:15 +00:00
wiredfool
55f5351e3d Test for size, add offset support 2025-01-25 15:43:22 +00:00
wiredfool
388da5c4a4 Test rejection of incorrect modes 2025-01-25 15:12:41 +00:00