Commit Graph

17131 Commits

Author SHA1 Message Date
Andrew Murray
3f6422b512 Added type hints 2024-02-12 09:28:53 +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
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
Andrew Murray
19a6edeecc Added type hints 2024-02-10 19:50:45 +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
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
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
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
Andrew Murray
bb1fece57a Added type hints 2024-01-31 21:55:32 +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
Andrew Murray
5efa2ade22 Added test 2024-01-31 19:10:33 +11:00
Andrew Murray
39cbd4f0f1 Expanded error message strings 2024-01-31 19:10:33 +11:00
Andrew Murray
e7470ed789
Merge branch 'main' into main 2024-01-31 19:07:08 +11:00
Hugo van Kemenade
db437386eb
Merge pull request #7762 from radarhere/cygwin 2024-01-31 09:46:42 +02:00
Andrew Murray
940d25614f
Merge pull request #7767 from python-pillow/renovate/cibuildwheel-2.x
Update dependency cibuildwheel to v2.16.5
2024-01-31 17:37:11 +11:00
renovate[bot]
1dad1b87ed
Update dependency cibuildwheel to v2.16.5 2024-01-31 00:17:32 +00:00
Andrew Murray
cae3506abb
Merge pull request #7766 from hugovk/m1
Test on macOS M1 where available
2024-01-31 08:34:19 +11:00
Hugo van Kemenade
d65f7b5ef7 brew install ghostscript 2024-01-30 22:51:04 +02:00