Commit Graph

17174 Commits

Author SHA1 Message Date
Andrew Murray
e39765d755 Added type hints 2024-02-20 15:41:20 +11:00
Andrew Murray
380bc1766b
Merge pull request #7813 from hugovk/requirements-mypy
Install mypy from requirements file
2024-02-20 08:17:37 +11:00
Hugo van Kemenade
fe1edb1e0f Install mypy from requirements file
So Renovate can update it on a schedule
2024-02-19 16:48:44 +02:00
Hugo van Kemenade
e1c5d57d50
Merge pull request #7810 from radarhere/tidelift 2024-02-18 23:48:06 +02:00
Andrew Murray
b6fdf2e9e7 Updated package name for Tidelift 2024-02-19 07:54:58 +11:00
Hugo van Kemenade
9a8248a751
Merge pull request #7808 from radarhere/type_hints
Removed mypy excludes
2024-02-18 21:44:03 +02:00
Hugo van Kemenade
ebc57945e3
Merge pull request #7744 from radarhere/unused 2024-02-17 11:38:14 +02:00
Andrew Murray
96fc60d5d2 Removed mypy excludes 2024-02-17 20:21:25 +11:00
Andrew Murray
4ea1ad03c3
Merge branch 'main' into unused 2024-02-17 18:23:04 +11:00
Hugo van Kemenade
c194d6e9c8
Merge pull request #7807 from radarhere/type_hints
Added type hints to additional tests
2024-02-17 09:18:42 +02:00
Hugo van Kemenade
80d4fc14b8
Merge pull request #7786 from radarhere/type_hints_imageops
Added type hints to ImageOps
2024-02-17 09:16:27 +02:00
Hugo van Kemenade
e5415f37d6
Merge pull request #7805 from radarhere/windows
Pin Python 3.13 on Windows to a3
2024-02-17 09:06:07 +02:00
Andrew Murray
5ff7d926fd Added type hints 2024-02-17 15:00:38 +11:00
Andrew Murray
1a108281b9 Removed unused code 2024-02-17 14:04:00 +11:00
Andrew Murray
5c858d75e4 Added type hints 2024-02-17 10:45:52 +11:00
Andrew Murray
26e0f6df56 Pin Python 3.13 on Windows to a3 2024-02-17 10:18:54 +11:00
Andrew Murray
912a33f5e9
Merge pull request #7795 from radarhere/type_hints
Use IO[bytes] in type hints
2024-02-15 20:23:43 +11:00
Andrew Murray
47eaf0937f Use IO[bytes] in type hints 2024-02-13 22:26:23 +11:00
Andrew Murray
50e9a92c98
Merge pull request #7794 from radarhere/type_hints
Added type hints to additional tests
2024-02-13 22:22:24 +11:00
Andrew Murray
3374e91d5e
Merge pull request #7750 from hugovk/type-hints-replace-io.BytesIO
Replace `io.BytesIO` in type hints
2024-02-13 21:29:52 +11:00
Andrew Murray
4ce06aac3b Added type hints 2024-02-12 23:01:44 +11:00
Andrew Murray
cdecb3da91
Merge pull request #7793 from radarhere/type_hints_test_image
Added remaining type hints to Tests/test_image_*.py
2024-02-12 23:01:19 +11:00
Andrew Murray
ea0240bf2d
Use is None
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-02-12 19:12:08 +11:00
Andrew Murray
3f6422b512 Added type hints 2024-02-12 09:28:53 +11:00
Andrew Murray
29dd02509d Merge branch 'main' into type-hints-replace-io.BytesIO 2024-02-11 22:02:55 +11:00
Andrew Murray
5d6f22da12
Merge pull request #7790 from radarhere/pyproject
Removed mypy excludes, except for olefile-related files
2024-02-11 21:46:27 +11:00
Hugo van Kemenade
3977124908
Update docs/reference/internal_modules.rst
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-02-10 14:54:20 +02:00
Andrew Murray
112a5a4813 Exclude abstract methods 2024-02-10 22:40:24 +11:00
Andrew Murray
e614bbfe50 Exclude code only for type checking 2024-02-10 22:39:18 +11:00
Andrew Murray
8ef0ffc2b8 Removed no cover pragma 2024-02-10 22:37:42 +11:00
Andrew Murray
d02a778efd
Removed no cover pragmas
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-02-10 21:57:59 +11:00
Andrew Murray
68db96981c
Removed else
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-02-10 21:50:48 +11:00
Hugo van Kemenade
40513025e1
Merge pull request #113 from radarhere/type-hints-replace-io.BytesIO 2024-02-10 12:31:39 +02:00
Andrew Murray
517b797132 Removed FileDescriptor 2024-02-10 20:47:32 +11:00
Hugo van Kemenade
958a651449
Merge pull request #112 from radarhere/type-hints-replace-io.BytesIO 2024-02-10 11:43:29 +02:00
Andrew Murray
19a6edeecc Added type hints 2024-02-10 19:50:45 +11:00
Andrew Murray
152a24e13a Simplified code 2024-02-10 16:48:02 +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
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
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