Commit Graph

17413 Commits

Author SHA1 Message Date
Andrew Murray
373c62e5cb Use subprocess with CREATE_NO_WINDOW flag in WindowsViewer 2024-02-10 19:47:50 +11:00
Andrew Murray
152a24e13a Simplified code 2024-02-10 16:48:02 +11:00
Andrew Murray
e6a521130e If previous disposal was 2, do not fill identical pixels 2024-02-09 19:47:09 +11:00
Andrew Murray
a118a82c30 Use os.path.realpath consistently when os.fspath is used 2024-02-08 18:48:45 +11:00
Andrew Murray
a276cf2c9f Use _typing alias 2024-02-08 18:48:38 +11:00
Andrew Murray
cb39b1c89e
Corrected syntax 2024-02-08 12:29:06 +11:00
Evan Miller
c93b23239d
Update src/_webp.c
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-02-07 20:20:27 -05:00
Andrew Murray
6782a07b8e
Merge pull request #7784 from radarhere/type_hints
Added type hints to additional tests
2024-02-08 07:43:34 +11:00
Andrew Murray
463c368211
Simplified code
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-02-07 21:02:34 +11:00
Andrew Murray
159fc068ca Merge branch 'main' into type-hints-replace-io.BytesIO 2024-02-07 20:50:36 +11:00
Andrew Murray
cdc498e6f3 Added type hints 2024-02-07 19:16:28 +11:00
Hugo van Kemenade
5bd8fd1dc6
Merge pull request #7783 from radarhere/lint
Lint fix
2024-02-07 09:22:29 +02:00
Andrew Murray
91645f9eff Lint fix 2024-02-07 10:19:00 +11:00
Hugo van Kemenade
811dd15ca5
Merge pull request #7769 from radarhere/type_hints 2024-02-06 23:12:26 +02:00
Evan Miller
469db5114c Release GIL while calling WebPAnimDecoderGetNext 2024-02-06 15:41:08 -05:00
Andrew Murray
3e04ca5794
Merge pull request #7780 from python-pillow/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2024-02-06 22:26:36 +11:00
Andrew Murray
5f115df74f Replace deprecated "extend-ignore" with "ignore" 2024-02-06 21:21:36 +11:00
Andrew Murray
65cb0b0487 Added _typing.Coords 2024-02-06 07:49:43 +11:00
Hugo van Kemenade
3bcc7072d6 Move linter config from deprecated top-level to own section 2024-02-05 20:39:08 +02:00
Hugo van Kemenade
1acaf20f72 Enable LOG rules for Ruff linter 2024-02-05 20:37:45 +02:00
pre-commit-ci[bot]
27b0cf67e7 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-02-05 17:18:52 +00:00
pre-commit-ci[bot]
e0da2b7120
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.1.9 → v0.2.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.9...v0.2.0)
- [github.com/psf/black-pre-commit-mirror: 23.12.1 → 24.1.1](https://github.com/psf/black-pre-commit-mirror/compare/23.12.1...24.1.1)
- [github.com/PyCQA/bandit: 1.7.6 → 1.7.7](https://github.com/PyCQA/bandit/compare/1.7.6...1.7.7)
- [github.com/tox-dev/pyproject-fmt: 1.5.3 → 1.7.0](https://github.com/tox-dev/pyproject-fmt/compare/1.5.3...1.7.0)
- [github.com/abravalheri/validate-pyproject: v0.15 → v0.16](https://github.com/abravalheri/validate-pyproject/compare/v0.15...v0.16)
2024-02-05 17:18:25 +00:00
Andrew Murray
5a8e7dda79 Added type hints 2024-02-05 20:36:34 +11:00
Andrew Murray
95255536cf Merge branch 'main' into type_hints 2024-02-05 19:29:27 +11:00
Andrew Murray
dfb48ff297 Match mask size to pasted image size 2024-02-05 19:16:15 +11:00
Andrew Murray
1b67239674 Update CHANGES.rst [ci skip] 2024-02-05 11:56:55 +11:00
Andrew Murray
3bd58a80a3
Merge pull request #7745 from nik012003/main
Update wl-paste handling and return None for some errors in grabclipboard() on Linux
2024-02-05 11:49:31 +11:00
Andrew Murray
d8f52f58be
Merge branch 'main' into main 2024-02-05 08:56:25 +11:00
Andrew Murray
fe09f0db37
Merge pull request #7776 from hugovk/codecov/codecov-action@v3.1.5
Pin codecov/codecov-action to v3.1.5
2024-02-05 08:55:11 +11:00
Andrew Murray
1e0b17a052
Merge pull request #7775 from radarhere/cygwin
Removed platform argument from setup-cygwin action
2024-02-05 08:05:53 +11:00
Andrew Murray
435c884ebb Removed platform argument from setup-cygwin action 2024-02-03 23:44:33 +11:00
Hugo van Kemenade
dba7dea326 Pin codecov/codecov-action to v3.1.5 2024-02-03 14:43:04 +02:00
Andrew Murray
cb9e3535c4
Merge pull request #7774 from python-pillow/renovate/github-actions
Update release-drafter/release-drafter action to v6
2024-02-03 14:39:14 +11:00
renovate[bot]
6207ad4196
Update release-drafter/release-drafter action to v6 2024-02-03 02:24:17 +00:00
Andrew Murray
acd7ecedcb
Merge pull request #7764 from radarhere/libxau
Fixed libXau error in wheels for macOS 10.10
2024-02-03 13:23:48 +11:00
Hugo van Kemenade
a5b4806830
Merge pull request #7772 from radarhere/codec_name 2024-02-02 20:05:58 +02:00
Andrew Murray
8d96e3bc59 Changed name of first _Tile parameter 2024-02-02 23:54:31 +11:00
Nicola Guerrera
8156798cec
Merge pull request #3 from radarhere/grabclipboard
Added test
2024-02-02 10:21:07 +01:00
Andrew Murray
2515938cdd Simplified type hints 2024-02-02 19:04:22 +11:00
Andrew Murray
e47877587f
Merge pull request #7770 from python-pillow/renovate/github-actions
Update github-actions to v4
2024-02-01 09:07:48 +11:00
renovate[bot]
6dba9c9887
Update github-actions to v4 2024-01-31 21:14:01 +00:00
pre-commit-ci[bot]
256f3f1966 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-01-31 19:38:55 +00:00
Hugo van Kemenade
f2228e0a7c
Replace bytes | str | Path with StrOrBytesPath
Co-authored-by: Ondrej Baranovič <nulano@nulano.eu>
2024-01-31 12:37:53 -07:00
Andrew Murray
58554de0c8
Merge branch 'main' into main 2024-02-01 00:06:05 +11:00
FangFuxin
b8769d1cf5
Update Tests/test_file_png.py
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-01-31 21:02:50 +08:00
Andrew Murray
530512f699
Merge branch 'main' into type-hints-replace-io.BytesIO 2024-01-31 22:58:53 +11:00
Andrew Murray
bb1fece57a Added type hints 2024-01-31 21:55:32 +11:00
Andrew Murray
2888f767f2
Merge branch 'main' into psd 2024-01-31 20:16:24 +11:00
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
Andrew Murray
d57b5e827c Corrected check 2024-01-31 19:10:33 +11:00