Commit Graph

18168 Commits

Author SHA1 Message Date
Sebastian Rittau
8b3fd8a585
Moved SupportsArrayInterface under Protocols heading 2024-05-11 10:47:32 +02:00
Sebastian Rittau
6d6dfd176c
Revert unnecessary formatting change 2024-05-11 10:46:20 +02:00
Sebastian Rittau
6310280428
Move an import behind the TYPE_CHECKING flag
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-05-11 10:44:52 +02:00
Andrew Murray
13cf2bc70f Moved SupportsArrayInterface under Protocols heading 2024-05-11 11:16:52 +10:00
Andrew Murray
18b87c8515 Added type hints 2024-05-11 10:48:09 +10:00
Andrew Murray
c9a56e6b0b
Merge pull request #8044 from python-pillow/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2024-05-11 10:10:34 +10:00
Andrew Murray
3344f57206
Merge branch 'main' into pre-commit-ci-update-config 2024-05-11 09:12:54 +10:00
Hugo van Kemenade
bfbe339ae3
Merge pull request #8045 from radarhere/strings 2024-05-10 18:44:37 +03:00
Andrew Murray
57399ce204 Parse _version contents instead of using exec() 2024-05-10 22:43:56 +10:00
Sebastian Rittau
9b44abb6b7 Add SupportsGetData to documentation 2024-05-10 11:48:36 +02:00
Sebastian Rittau
431fe0dcc8 Rename protocol to SupportsGetData 2024-05-10 11:46:35 +02:00
Hugo van Kemenade
0cad346fc9
Merge pull request #8042 from radarhere/type_hint 2024-05-09 17:38:46 +03:00
Andrew Murray
b2ce2f6ec4
Merge branch 'main' into type_hints 2024-05-09 08:58:03 +10:00
Andrew Murray
47580f257b Updated libjpeg-turbo to 3.0.3 2024-05-09 08:51:12 +10:00
Andrew Murray
ce8dedadfd
Merge branch 'main' into modes 2024-05-08 22:11:50 +10:00
Sebastian Rittau
bb8718e581 Hopefully the last Python 3.8 instance :/ 2024-05-08 12:54:44 +02:00
Sebastian Rittau
296050f382 More Python 3.8 compatibility 2024-05-08 12:26:45 +02:00
Sebastian Rittau
7ae8d37138 Make GetDataTransform public 2024-05-08 12:14:59 +02:00
Sebastian Rittau
ef35d79264 Python 3.8 compatibility 2024-05-08 12:14:37 +02:00
Andrew Murray
c6a3f0fdd8
Merge branch 'main' into accept 2024-05-08 18:45:10 +10:00
Andrew Murray
58ee112a9a
Merge branch 'main' into type_hint 2024-05-08 18:04:02 +10:00
Andrew Murray
a3356879fd Use f-string 2024-05-08 17:57:36 +10:00
Hugo van Kemenade
8246673fe3
Merge pull request #8041 from radarhere/codecov 2024-05-08 09:57:32 +03:00
Andrew Murray
ed0867abec Set stream length for later use 2024-05-08 06:30:43 +10:00
Sebastian Rittau
d63caf266d Various fixes 2024-05-07 15:59:20 +02:00
Sebastian Rittau
d44e9fccb1 Various fixes 2024-05-07 14:53:26 +02:00
pre-commit-ci[bot]
1aa3886ed7 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-05-07 12:34:02 +00:00
Sebastian Rittau
c92f59d758 Add various type annotations 2024-05-07 14:30:34 +02:00
Andrew Murray
7d81cbd0ed Do not use percent format 2024-05-07 14:01:27 +10:00
Andrew Murray
b17f1e507b Use f-strings 2024-05-07 14:01:08 +10:00
pre-commit-ci[bot]
b8e3e0a430
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.3.4 → v0.4.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.3.4...v0.4.3)
- [github.com/psf/black-pre-commit-mirror: 24.3.0 → 24.4.2](https://github.com/psf/black-pre-commit-mirror/compare/24.3.0...24.4.2)
- [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v4.6.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v4.6.0)
- [github.com/python-jsonschema/check-jsonschema: 0.28.1 → 0.28.2](https://github.com/python-jsonschema/check-jsonschema/compare/0.28.1...0.28.2)
- [github.com/tox-dev/pyproject-fmt: 1.7.0 → 1.8.0](https://github.com/tox-dev/pyproject-fmt/compare/1.7.0...1.8.0)
2024-05-06 17:25:18 +00:00
Andrew Murray
93ca52fbe0
Merge pull request #8043 from mrKazzila/tmp/pr/move_to_f_str 2024-05-05 23:33:27 +10:00
pre-commit-ci[bot]
71b8d99b36 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-05-04 19:27:45 +00:00
mrKazzila
984c2e7f30 chore: update __repr__ for PdfName 2024-05-04 19:26:22 +03:00
mrKazzila
74063feadc chore: add f-string formatting 2024-05-04 19:21:49 +03:00
Andrew Murray
6036d81d97 Added type hints 2024-05-04 20:51:54 +10:00
Andrew Murray
ac1eb57c03 Install git 2024-05-03 09:43:50 +10:00
Andrew Murray
e8cddfbc6a Updated codecov/codecov-action to v4 2024-05-03 08:45:39 +10:00
Nulano
007caae02a Merge remote-tracking branch 'origin/type_hints' into type_hints 2024-04-30 16:33:02 +02:00
Nulano
c2cb944514 Ignore incorrect mypy warning 2024-04-30 16:32:44 +02:00
Nulano
74b87ae748 Move import to top of file 2024-04-30 16:32:29 +02:00
Andrew Murray
7d62c306cc
Merge branch 'main' into pre-commit-clang 2024-04-30 21:34:41 +10:00
Andrew Murray
a304fd5f41
Merge branch 'main' into type_hints 2024-04-30 19:41:34 +10:00
Hugo van Kemenade
58a47978af
Merge pull request #8030 from radarhere/type_hints 2024-04-30 12:37:37 +03:00
Andrew Murray
b60b6063dd
Merge branch 'main' into type_hints 2024-04-30 18:16:55 +10:00
Andrew Murray
8a56feea02
Merge branch 'main' into type_hints 2024-04-30 18:15:33 +10:00
Hugo van Kemenade
ddbf08fa78
Merge pull request #8023 from radarhere/ubuntu 2024-04-30 10:45:50 +03:00
Nulano
5f805c39cc Added type hints for PixelAccess methods and others 2024-04-29 23:52:51 +02:00
Andrew Murray
2250fbeb9a Added type hints 2024-04-29 20:25:11 +10:00
Hugo van Kemenade
9b1390792c
Merge pull request #8028 from radarhere/ci 2024-04-29 13:21:04 +03:00