Commit Graph

4499 Commits

Author SHA1 Message Date
Hugo van Kemenade
4a4b90c365
Autotype tests (#7756)
* autotyping: --none-return
* autotyping: --scalar-return
* autotyping: --int-param
* autotyping: --float-param
* autotyping: --str-param
* autotyping: --annotate-named-param tmp_path:pathlib.Path
2024-01-31 20:12:58 +11:00
Hugo van Kemenade
76955bbaf7 Remove shebang and execute bit 2024-01-29 18:43:51 +02:00
Hugo van Kemenade
0669532898 Remove shebangs 2024-01-29 18:43:03 +02:00
Andrew Murray
737314923f Added type hints 2024-01-27 15:19:43 +11:00
Andrew Murray
ddb7df0ec6 Added type hints 2024-01-25 22:18:46 +11:00
Andrew Murray
4175787c45
Merge pull request #7739 from radarhere/test_image_results
Do not support using test-image-results to upload images after test failures
2024-01-25 06:36:49 +11:00
Andrew Murray
4814bee6c0 Use Path instead of PosixPath 2024-01-23 21:42:36 +11:00
Andrew Murray
16fd934b00 Use TypedDict 2024-01-23 09:55:25 +11:00
Andrew Murray
2521ec4732 Restored charsets dictionary 2024-01-22 22:08:45 +11:00
Andrew Murray
a09e056a4c Added type hints 2024-01-22 18:42:43 +11:00
Andrew Murray
d331eb9c52 Added type hints 2024-01-21 19:18:51 +11:00
Andrew Murray
4674195321 Removed support for test-image-results 2024-01-21 15:01:12 +11:00
Andrew Murray
3453a99908 Merge branch 'main' into type_hints_check 2024-01-21 14:38:17 +11:00
Andrew Murray
1891b61f73
Merge pull request #7736 from hugovk/isort-tests
Sort imports in `Tests/`
2024-01-21 14:30:42 +11:00
Hugo van Kemenade
53c3cd9f8e isort Tests 2024-01-20 13:23:03 +02:00
Andrew Murray
a18cee35ff
Updated import order
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-01-20 21:26:31 +11:00
pre-commit-ci[bot]
9454c28f0f [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-01-20 10:24:57 +00:00
Andrew Murray
970bd102ba
Updated type hint
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-01-20 21:24:34 +11:00
Andrew Murray
99d851957f
Return early
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-01-20 21:23:08 +11:00
Andrew Murray
f7701e6596 Do not log URL of test images if there is no URL 2024-01-20 21:04:57 +11:00
Andrew Murray
9b6c1e3763 Added type hints 2024-01-20 11:13:06 +11:00
Andrew Murray
1d63cffdad Added type hints 2024-01-19 21:50:27 +11:00
Andrew Murray
81b5c5dc68 Added type hints 2024-01-19 08:37:58 +11:00
Hugo van Kemenade
fc67ee29d5
Merge pull request #7701 from esoma/issue-7700 2024-01-11 14:05:16 +02:00
Hugo van Kemenade
5baace9eb7
Merge pull request #7702 from nulano/deprecate-cms-constants 2024-01-11 10:51:21 +02:00
Ondrej Baranovič
5347b471c6
Update Tests/test_imagecms.py
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-01-11 02:08:46 +01:00
Erik Soma
6f144d45b9 Rename repeated seeks apng to reflect what it is rather than how it is used. 2024-01-10 16:03:42 -05:00
Erik Soma
dc6d7611e9
Test apng repeated seeks 3 times instead of 5.
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-01-09 08:55:49 -05:00
Erik Soma
a6051a4045 Add type hints and fix some formatting for the apng repeated seeks test. 2024-01-08 15:20:24 -05:00
Erik Soma
a844871c5e Give apng repeated seeks test and image a more descriptive name. 2024-01-08 15:18:49 -05:00
Andrew Murray
605208ea47
Merge branch 'main' into perspective 2024-01-09 07:16:24 +11:00
Andrew Murray
208a34c079
Merge branch 'main' into deprecate-cms-constants 2024-01-09 07:15:41 +11:00
Hugo van Kemenade
b1f549f60c
Merge pull request #7696 from nulano/pfm 2024-01-08 19:22:53 +02:00
Nulano
5dd1652f27 use filename instead of f 2024-01-08 17:17:52 +01:00
Erik Soma
3515f997ce Add test against info of apng images getting clobbered when seeking to the first frame multiple times. 2024-01-07 20:52:22 -05:00
Andrew Murray
ccdea48cf3 Added identity tests for Transform classes 2024-01-08 10:36:30 +11:00
Nulano
08f11c57a1 deprecate ImageCms members: DESCRIPTION, VERSION, FLAGS, versions() 2024-01-08 00:32:47 +01:00
Andrew Murray
ba6399cad1 Added PerspectiveTransform 2024-01-07 19:34:27 +11:00
Hugo van Kemenade
fcaed26ab1
Merge pull request #7676 from nulano/lcms2-flags 2024-01-06 16:43:20 +02:00
Nulano
0d841aab9a add support for grayscale pfm image format 2024-01-06 14:08:51 +01:00
Andrew Murray
2d6ad5868d Use "non-zero" consistently 2024-01-06 12:07:55 +11:00
Nulano
90991428fa add LCMS2 flags to ImageCms 2024-01-01 21:40:38 +01:00
Andrew Murray
d93a5ad70b
Merge pull request #7553 from bgilbert/jpeg-rgb
Add `keep_rgb` option when saving JPEG to prevent conversion of RGB colorspace
2024-01-01 23:55:37 +11:00
Andrew Murray
f8df5303fa
Merge pull request #7672 from nulano/imagefont-negative-crop
Trim negative glyph offsets in ImageFont.getmask()
2024-01-01 23:34:17 +11:00
Nulano
0eb661b889 do not crop ImageFont glyphs from negative coordinates 2024-01-01 11:35:42 +01:00
Andrew Murray
57096f55cf
Merge pull request #7642 from nulano/types-util
Add type hints to _util
2024-01-01 21:27:57 +11:00
Andrew Murray
10c2df5430
Merge pull request #7669 from radarhere/imagefont_mask
Do not try and crop glyphs from outside of source ImageFont image
2024-01-01 18:16:49 +11:00
Andrew Murray
4f17b60088
Merge pull request #7667 from nulano/iptc
Fix loading IPTC images and update test
2024-01-01 16:25:29 +11:00
Andrew Murray
ecd3948b45 Test PILfont even when FreeType is supported 2024-01-01 16:13:57 +11:00
Andrew Murray
d6fd4c978e
Merge pull request #7666 from hugovk/coverage-exclude_also
Coverage: add more exclusions
2024-01-01 15:46:52 +11:00