Commit Graph

31 Commits

Author SHA1 Message Date
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
Hugo van Kemenade
576119ae9d Black and Ruff infer target-version from requires-python in pyproject.toml 2023-11-07 09:29:33 +02:00
Christian Clauss
fd59f91d17 ruff: Minor optimizations of list comprehensions, x in set, etc. 2023-11-06 19:13:47 +06:00
Aarni Koskela
de6c4b09d7 Switch linting to ruff
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-11-06 12:43:14 +02:00
Hugo van Kemenade
5fb892a9e2 Move version from setup.py to pyproject.toml 2023-10-22 20:35:21 +03:00
Hugo van Kemenade
adc64336ab
Add space
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2023-10-22 11:07:33 -06:00
Hugo van Kemenade
430920e2a8 Move build config from setup.cfg to pyproject.toml 2023-10-21 22:37:28 +03:00
Hugo van Kemenade
73c2eb460d Move tools config from setup.cfg to pyproject.toml 2023-10-21 16:23:40 +03:00
Michał Górny
d56fb2435d Remove redundant wheel dep from pyproject.toml
Remove the redundant `wheel` dependency, as it is added by the backend
automatically.  Listing it explicitly in the documentation was
a historical mistake and has been fixed since, see:
f7d30a9529

While Pillow uses a custom backend that modifies the `bdist_wheel`
method, it does not import `wheel` or use it in a way that would rely
on setuptools implementation details.
2023-07-02 04:13:02 +02:00
nulano
c1799627df
lint fixes 2023-06-24 16:13:38 +01:00
nulano
c068af7630
Merge remote-tracking branch 'upstream/main' into add-pyproject.toml
# Conflicts:
#	pyproject.toml
2023-06-24 13:30:15 +01:00
Hugo van Kemenade
18960e8416 Use latest setuptools 67.8 2023-05-27 23:39:51 +03:00
Hugo van Kemenade
454dfcc1b4 Add minimal pyproject.toml 2023-05-27 23:39:48 +03:00
Andrew Murray
4f734d295f Use --config-settings instead of deprecated --global-option 2023-05-20 15:38:36 +10:00