Commit Graph

18364 Commits

Author SHA1 Message Date
Yngve Mardal Moe
77503156b1
Update src/PIL/ImageFont.py
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-09-11 14:22:45 +02:00
pre-commit-ci[bot]
e4f13020e1 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-09-11 08:33:12 +00:00
Yngve Mardal Moe
d2efd7dd5f
Update src/PIL/ImageFont.py
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-09-11 10:32:42 +02:00
Yngve Mardal Moe
7d223fbcaa
Merge pull request #2 from radarhere/improve-error-messages
Sort extensions alphabetically in error message
2024-09-10 20:45:53 +02:00
Andrew Murray
547832fd59 Use tempfile.NamedTemporaryFile 2024-09-07 19:49:21 +10:00
Andrew Murray
dbe979d032 Sort extensions alphabetically in error message 2024-09-07 19:09:01 +10:00
Andrew Murray
e14072e973 Added further detail 2024-09-07 19:08:07 +10:00
Yngve Mardal Moe
822f525e82
Merge branch 'main' into improve-error-messages 2024-09-02 21:04:41 +02:00
Hugo van Kemenade
59f37db65f
Merge pull request #8342 from python-pillow/pre-commit-ci-update-config 2024-09-02 21:25:54 +03:00
pre-commit-ci[bot]
6b59e3822f
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.6.0 → v0.6.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.0...v0.6.3)
- [github.com/python-jsonschema/check-jsonschema: 0.29.1 → 0.29.2](https://github.com/python-jsonschema/check-jsonschema/compare/0.29.1...0.29.2)
2024-09-02 17:26:20 +00:00
Yngve Mardal Moe
ef51e7a1c7 Fix wrong indentation for assert 2024-09-01 19:49:44 +00:00
Yngve Mardal Moe
3bb180a254
Merge pull request #1 from radarhere/improve-error-messages
Renamed variable for first part of splitext to root
2024-09-01 21:47:08 +02:00
Andrew Murray
dbe78a0d21
Merge branch 'improve-error-messages' into improve-error-messages 2024-09-01 16:19:11 +10:00
Yngve Mardal Moe
fcca8a3059 Fix accidental indent 2024-08-31 19:03:11 +00:00
Andrew Murray
e0a75b6d69 Renamed variable for first part of splitext to root 2024-08-31 20:51:37 +10:00
Andrew Murray
95194a2050 Use tempfile.NamedTemporaryFile 2024-08-31 20:51:26 +10:00
Yngve Mardal Moe
cdadf931e3 Improve error messages 2024-08-30 20:50:56 +00:00
Hugo van Kemenade
44c2ff3f0b
Merge pull request #8335 from hugovk/rm-pypy3.9 2024-08-29 14:44:26 +03:00
Hugo van Kemenade
d92603a0c6 Drop support for EOL PyPy3.9 2024-08-29 10:58:53 +03:00
Hugo van Kemenade
1bf9fb4e40
Merge pull request #8279 from radarhere/type_hint_init 2024-08-28 10:07:27 +03:00
Andrew Murray
3c3b6ea28a
Merge pull request #8334 from python-pillow/renovate/mypy-1.x
Update dependency mypy to v1.11.2
2024-08-28 11:41:20 +10:00
renovate[bot]
ae59ea4899
Update dependency mypy to v1.11.2 2024-08-28 00:52:05 +00:00
Andrew Murray
eae107ceb2
Merge branch 'main' into type_hint_init 2024-08-28 08:31:09 +10:00
Hugo van Kemenade
56e3147403
Merge pull request #8331 from radarhere/imageqt 2024-08-27 22:25:39 +03:00
Andrew Murray
7171e1c21e
Merge pull request #8332 from radarhere/ghostscript
Corrected GitHub Actions Windows Ghostscript path
2024-08-27 19:36:56 +10:00
Andrew Murray
65172db28d Corrected Ghostscript path 2024-08-27 19:04:46 +10:00
Andrew Murray
53bbfea763 Added type hints 2024-08-26 23:49:03 +10:00
Andrew Murray
4721c31b19
Merge pull request #8319 from radarhere/type_hint
Added type hints
2024-08-24 23:54:19 +10:00
Andrew Murray
cfb093af39 Update CHANGES.rst [ci skip] 2024-08-24 23:15:35 +10:00
Andrew Murray
dcd77b57d8
Merge pull request #8322 from radarhere/webp
Updated error message when saving WebP with invalid width or height
2024-08-24 23:12:07 +10:00
pre-commit-ci[bot]
a3e3639a59 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-08-24 11:27:43 +00:00
Andrew Murray
658b60e3a3
Include units
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-08-24 21:26:56 +10:00
Hugo van Kemenade
f15034c3b1
Merge pull request #8326 from radarhere/numpy 2024-08-24 14:26:52 +03:00
Andrew Murray
8aa58e320f Rename _E to ImagePointTransform 2024-08-24 21:25:41 +10:00
Andrew Murray
6e9518b88d Added type hint to example code 2024-08-24 19:18:25 +10:00
Hugo van Kemenade
b6f90c4732
Merge pull request #8325 from radarhere/defusedxml
Catch defusedxml warnings
2024-08-24 08:35:38 +03:00
Andrew Murray
e382ebed3a Remove warning if NumPy failed to raise an error during conversion 2024-08-23 19:38:07 +10:00
Andrew Murray
fed9168252 Catch defusedxml warnings 2024-08-23 18:48:28 +10:00
Andrew Murray
d49ea37811 Include limit in error message 2024-08-22 17:50:42 +10:00
Andrew Murray
f368ccc06e
Merge branch 'main' into webp 2024-08-22 12:36:17 +10:00
Jeffrey 'Alex' Clark
d6cfebd016 Revert "Add/update project-makefile files"
This reverts commit 388fc78e36.

Sorry for the noise (4/4)!
2024-08-21 21:17:29 -04:00
Jeffrey 'Alex' Clark
1143bffe1a Revert "Add/update project-makefile files"
This reverts commit 776eb9e9b7.

Sorry for the noise (3/4)!
2024-08-21 21:17:06 -04:00
Jeffrey 'Alex' Clark
e19841afa4 Revert "Add/update project-makefile files"
This reverts commit 837af6420d.

Sorry for the noise (2/4)!
2024-08-21 21:16:35 -04:00
Jeffrey 'Alex' Clark
0f64d08e64 Revert "Add/update project-makefile files"
This reverts commit 575fad2472.

Sorry for the noise (1/4)!
2024-08-21 21:16:02 -04:00
Andrew Murray
132663a881 Updated error message for invalid width or height 2024-08-22 07:36:52 +10:00
Jeffrey 'Alex' Clark
575fad2472 Add/update project-makefile files 2024-08-21 17:02:53 -04:00
Jeffrey 'Alex' Clark
837af6420d Add/update project-makefile files 2024-08-21 16:43:28 -04:00
Jeffrey 'Alex' Clark
776eb9e9b7 Add/update project-makefile files 2024-08-21 16:08:26 -04:00
Jeffrey 'Alex' Clark
388fc78e36 Add/update project-makefile files 2024-08-21 15:32:06 -04:00
Andrew Murray
f0d8fd3059
Merge pull request #8310 from Yay295/tiff_cleanup
Move repeated code to private helper function
2024-08-21 13:48:18 +10:00