Commit Graph

18302 Commits

Author SHA1 Message Date
Hugo van Kemenade
5747267eb3 Fix PT018: Assert only one thing 2024-08-17 11:46:15 +03:00
Hugo van Kemenade
5c282d0299 Fix PT014: duplicate test cases in pytest.mark.parametrize 2024-08-17 11:46:15 +03:00
Hugo van Kemenade
6f506d2ae3 Run all flake8-pytest-style except rules some that fail 2024-08-17 11:46:15 +03:00
Hugo van Kemenade
eeb3d04843
Merge pull request #8306 from radarhere/tag_v2 2024-08-16 12:56:16 +03:00
Andrew Murray
617699ffc7 Log value from tag_v2 2024-08-16 12:03:02 +10:00
Andrew Murray
0a03b77daf Update CHANGES.rst [ci skip] 2024-08-16 06:36:31 +10:00
Hugo van Kemenade
0633257be3
Merge pull request #8285 from radarhere/type_hint 2024-08-15 23:25:50 +03:00
Hugo van Kemenade
394e850db8
Merge pull request #8304 from radarhere/rounded_rectangle 2024-08-15 16:06:42 +03:00
Andrew Murray
d5e3f6b516 If left and right sides meet, do not draw rectangle to fill gap 2024-08-15 14:46:23 +10:00
Andrew Murray
d4c72da6b2 Added type hints to example code 2024-08-15 14:10:31 +10:00
Andrew Murray
8afb7ddb4e Added type hints 2024-08-15 08:08:43 +10:00
Andrew Murray
497080f63b Added type hint to ImageFile._save tile parameter 2024-08-15 07:30:01 +10:00
Andrew Murray
8737709781 Added return type to ImageFile.load() 2024-08-15 07:30:00 +10:00
Andrew Murray
b14142462e Update CHANGES.rst [ci skip] 2024-08-15 05:11:00 +10:00
Alexander Karpinsky
35a70e4b97
Merge pull request #8213 from uploadcare/webp-require-anim
Remove WebP support without anim, mux/demux, and with buggy alpha
2024-08-14 15:27:23 +04:00
Alexander Karpinsky
4d544da5c6
Merge pull request #142 from radarhere/webp-require-anim
Suggestions for deprecating older WebP versions
2024-08-14 12:47:17 +04:00
Andrew Murray
359d7592c7 Test deprecation warnings 2024-08-14 18:41:39 +10:00
Andrew Murray
45552b5b4f Updated documentation 2024-08-14 18:36:06 +10:00
Andrew Murray
66319fcce7 Animation support is no longer conditionally enabled 2024-08-14 18:35:59 +10:00
Andrew Murray
ba82dff7bc Updated test name 2024-08-14 18:35:53 +10:00
Andrew Murray
c7e6289b36 Use relative import 2024-08-13 19:07:01 +10:00
Andrew Murray
f3aec6dd38 Simplified code 2024-08-13 19:05:32 +10:00
Andrew Murray
5546994828 Removed unnecessary variable 2024-08-13 19:03:14 +10:00
Alexander Karpinsky
93ce9ce004
Update features type
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-08-13 09:52:07 +04:00
Andrew Murray
924df9e60b Moved line after early return
Improve compiler advice

Update src/PIL/features.py
2024-08-13 09:34:49 +04:00
Aleksandr Karpinskii
6180abc75c Remove WebP versions notes from docs 2024-08-13 09:34:49 +04:00
Aleksandr Karpinskii
56ca359c65 Bring back removed features, add deprecations and Release notes 2024-08-13 09:34:49 +04:00
Aleksandr Karpinskii
a3468996c0 Remove webp animations flags and conditions
Removed:
_webp.WebPDecode
_webp.HAVE_WEBPANIM
features.webp_anim
2024-08-13 09:33:20 +04:00
Aleksandr Karpinskii
9bed5b4264 Remove _webp.WebPDecoderBuggyAlpha and _webp.HAVE_TRANSPARENCY 2024-08-13 09:26:04 +04:00
Aleksandr Karpinskii
c1e8375af8 Require webpmux and webpdemux 2024-08-13 09:24:52 +04:00
Alexander Karpinsky
a5b415bef5
Merge pull request #8298 from uploadcare/missing-CMYK;16B
Add missing TIFF CMYK;16B reader
2024-08-11 16:09:14 +04:00
Aleksandr Karpinskii
0d79a38e77 Add missing TIFF CMYK;16B reader 2024-08-11 15:14:29 +04:00
Hugo van Kemenade
c8b5f0b9ea
Merge pull request #8293 from radarhere/quant
Fix undefined variable
2024-08-10 01:05:05 +03:00
Hugo van Kemenade
082e3234a1
Merge pull request #8295 from akx/ruff-enforce-parametrize-style 2024-08-08 15:12:43 +03:00
Aarni Koskela
1c998d7f7c
Update pyproject.toml
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-08-08 14:10:18 +03:00
Hugo van Kemenade
c6867187bd
Merge pull request #8290 from akx/parametrize-lut-tests 2024-08-07 15:12:56 +03:00
Hugo van Kemenade
2e23dc5c03
Merge pull request #8294 from radarhere/warning 2024-08-07 14:19:09 +03:00
Aarni Koskela
8ca53b312d Enforce CSV parametrize names style 2024-08-07 12:27:20 +03:00
Andrew Murray
a06529a3a8 Added channels parameter 2024-08-07 12:13:05 +03:00
Andrew Murray
5c4aeaa329 Concatenate parameters into single string 2024-08-07 12:13:05 +03:00
Andrew Murray
4fddc625f1 Corrected lut mode 2024-08-07 12:13:05 +03:00
Andrew Murray
7581b48706 Fixed sign comparison warning 2024-08-07 18:44:43 +10:00
Andrew Murray
11b4df3ff9
Merge pull request #8289 from akx/mypy-fixes
Move auxiliary mypy requirements to a requirements file
2024-08-07 18:05:06 +10:00
Aarni Koskela
59c69f8d71 Move auxiliary mypy requirements to a requirements file
For easier installation outside tox
2024-08-07 09:37:21 +03:00
Andrew Murray
70298d3be9 Fix undefined variable 2024-08-07 06:38:46 +10:00
Aarni Koskela
9d6d16d5cc Parametrize some color_lut tests for DRYness 2024-08-06 15:25:23 +03:00
Hugo van Kemenade
f2469cb1bf
Merge pull request #8288 from radarhere/quant
Removed unused variable
2024-08-06 08:21:00 +03:00
Andrew Murray
5e8dbbbf9e Removed unused variable 2024-08-06 13:32:46 +10:00
Andrew Murray
1fd4d14782 Update CHANGES.rst [ci skip] 2024-08-06 06:31:47 +10:00
Hugo van Kemenade
8696974cef
Merge pull request #8287 from python-pillow/pre-commit-ci-update-config 2024-08-05 21:43:02 +03:00