Andrew Murray
53bbfea763
Added type hints
2024-08-26 23:49:03 +10:00
Hugo van Kemenade
5747267eb3
Fix PT018: Assert only one thing
2024-08-17 11:46:15 +03:00
Hugo van Kemenade
5c282d0299
Fix PT014: duplicate test cases in pytest.mark.parametrize
2024-08-17 11:46:15 +03:00
Hugo van Kemenade
6f506d2ae3
Run all flake8-pytest-style except rules some that fail
2024-08-17 11:46:15 +03:00
Aarni Koskela
1c998d7f7c
Update pyproject.toml
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-08-08 14:10:18 +03:00
Aarni Koskela
8ca53b312d
Enforce CSV parametrize names style
2024-08-07 12:27:20 +03:00
Andrew Murray
726cdf5eed
Added type hints
2024-07-25 22:55:49 +10:00
Andrew Murray
a3f93b3f68
Changed ContainerIO to subclass IO
2024-07-17 16:23:29 +10:00
Andrew Murray
486dac7efc
Added type hints
2024-07-06 19:17:23 +10:00
Hugo van Kemenade
51bd7d2ea8
Drop support for Python 3.8 ( #8183 )
...
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-07-03 00:44:45 -06:00
Hugo van Kemenade
e50df021e8
Add support for Python 3.13
2024-07-02 21:48:48 +03:00
pre-commit-ci[bot]
c359bd290b
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-07-01 17:33:19 +00:00
Hugo van Kemenade
a64f4cf685
Remove sphinx-removed-in, now Sphinx 7.3.0 adds versionremoved
2024-04-17 09:23:41 +03:00
Andrew Murray
cd179541b1
Removed nitpick_ignore by updating Sphinx to 7.3
2024-04-17 11:47:35 +10:00
Hugo van Kemenade
55b8f9126b
Move Ruff's fix=true up from pre-commit to pyproject
2024-04-01 20:49:47 +03:00
Nulano
d3665ea0ea
fix lint
2024-03-28 18:20:32 +01:00
Andrew Murray
6ca8bfb253
Merge pull request #7897 from hugovk/flake8-pyi
...
Type hints: Add PYI (flake8-pyi) to Ruff and fix errors
2024-03-27 19:58:53 +11:00
Hugo van Kemenade
98c7d90af6
Variables can be None; update comment
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-03-27 09:16:31 +02:00
Hugo van Kemenade
eff78cb514
Skip PYI034 as typing.Self is in Python 3.10+
2024-03-23 20:52:51 +02:00
Hugo van Kemenade
9fc3fa8208
Add PYI (flake8-pyi) to Ruff
2024-03-23 20:41:29 +02:00
Jeffrey A. Clark (Alex)
4197263dff
Clean up authors and contributors
...
- `s/Jeffrey A. Clark (Alex)/Jeffrey A. Clark/g`. People can figure out that I am Alex.
- We've added "contributors" to Fredrik's copyright statements because it seems appropriate that it be there based on: https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst#02b5-117 .
- Fredrik is the PIL author and I am the Pillow author.
- Consistently apply all of the above everywhere.
2024-03-23 09:40:39 -04:00
Andrew Murray
7a5b91dd2c
Removed references to Twitter
2024-02-26 20:29:47 +11:00
Andrew Murray
9115529856
Added "Typing :: Typed" classifier
2024-02-21 21:42:04 +11:00
Andrew Murray
96fc60d5d2
Removed mypy excludes
2024-02-17 20:21:25 +11:00
Andrew Murray
19a6edeecc
Added type hints
2024-02-10 19:50:45 +11:00
Andrew Murray
5f115df74f
Replace deprecated "extend-ignore" with "ignore"
2024-02-06 21:21:36 +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
Hugo van Kemenade
eba0be98ec
isort Tests
2024-01-20 13:22:04 +02:00
Andrew Murray
10cf2f2651
Added type hints
2024-01-13 14:40:59 +11:00
Andrew Murray
bc192557b8
Added type hints
2024-01-11 23:11:12 +11:00
Andrew Murray
659098c6ac
Added type hints
2024-01-10 22:05:26 +11: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
a5e42107ea
Removed __future__ import from fuzz_font and fuzz_pillow
2023-12-29 11:23:34 +11:00
Nulano
3a4298d16c
avoid hard dependency on typing_extensions
2023-12-27 14:55:30 +01:00
Nulano
cc51dace35
fix types hints for ImageFile._Tile
2023-12-27 14:55:30 +01:00
Nulano
90d5552800
use _util.DeferredError.new everywhere
2023-12-27 14:55:30 +01:00
Nulano
6bcf807fe2
add type hints for _util
2023-12-27 14:55:30 +01:00
Hugo van Kemenade
905ae8b5d1
Add 'from __future__ import annotations' using Ruff/isort
2023-12-21 13:13:07 +02:00
Hugo van Kemenade
5db5d66179
Remove default 'line-length = 88'
2023-12-19 09:23:43 +02:00
Hugo van Kemenade
b8605eaa84
Check types with mypy
2023-12-19 09:23:43 +02:00
Hugo van Kemenade
76446ee450
Merge pull request #7524 from cclauss/ruff-rules-C4-PERF102-PIE810-PLR
2023-12-01 17:09:25 +02:00
Nulano
d88ab8a668
use verbose flag when building wheels
2023-11-28 14:20:57 +01:00
nulano
1fdb0668d8
test cibuildwheel wheels in Docker on Windows
2023-11-28 14:20:57 +01:00
Nulano
3d49244d36
specify build config settings in pyproject.toml
2023-11-28 14:20:57 +01:00
Andrew Murray
a1d2297029
Merge pull request #7563 from radarhere/optional-dependencies
...
List optional dependencies in pyproject (apart from docs and tests)
2023-11-28 21:49:41 +11:00
Andrew Murray
5c277a0e8f
Split fpx_mic dependency
2023-11-21 08:33:11 +11:00
Andrew Murray
eeeb2d436f
List optional dependencies apart from docs and tests
2023-11-20 23:56:56 +11:00
Andrew Murray
0a12f6c399
Removed --std=c99 setting
2023-11-15 13:21:38 +11:00
Andrew Murray
ad7fee5ed0
Use cibuildwheel
2023-11-14 23:23:46 +11:00