Commit Graph

46 Commits

Author SHA1 Message Date
Andrew Murray
e68cec640a Added type hints 2024-05-30 12:00:50 +10:00
Andrew Murray
54d329b192 Merge branch 'main' into import 2024-03-12 12:01:50 +11:00
Hugo van Kemenade
0669532898 Remove shebangs 2024-01-29 18:43:03 +02:00
Andrew Murray
1891b61f73
Merge pull request #7736 from hugovk/isort-tests
Sort imports in `Tests/`
2024-01-21 14:30:42 +11:00
Hugo van Kemenade
53c3cd9f8e isort Tests 2024-01-20 13:23:03 +02:00
Andrew Murray
81b5c5dc68 Added type hints 2024-01-19 08:37:58 +11:00
Andrew Murray
a5e42107ea Removed __future__ import from fuzz_font and fuzz_pillow 2023-12-29 11:23:34 +11:00
Andrew Murray
f6f3dab672 Import UnidentifiedImageError directly 2023-12-27 17:42:17 +11:00
Andrew Murray
7b9d101533 Moved __future__ import to beginning of file 2023-12-26 16:47:06 +11:00
Hugo van Kemenade
43b2f61e79 Add 'from __future__ import annotations' using Ruff/isort 2023-12-21 13:13:31 +02:00
Andrew Murray
bff6b4d6a2 Switched from direct setup.py invocation to "pip install ." 2023-10-27 19:17:15 +11:00
Andrew Murray
472eb66683 Skip tests that require FreeType if FreeType is not available 2023-08-24 19:02:27 +10:00
Andrew Murray
5a9c2321b4 Updated libjpeg shared library name 2023-07-04 22:39:41 +10:00
Andrew Murray
c977526cfe Lint fixes 2023-01-01 07:03:09 +11:00
Andrew Murray
51d95add6a Replaced IOError with OSError 2023-01-01 07:03:09 +11:00
Eric Soroos
1c57ab8429 Return a PyError instead of a fake fterror.
* Update Tests to IOError rather than OSError
2023-01-01 07:03:09 +11:00
Andrew Murray
d2590437c4 Updated libtiff shared library name 2022-12-26 16:21:45 +11:00
Andrew Murray
eafff0e139 Use compile_python_fuzzer 2022-12-03 10:54:04 +11:00
nulano
a7baa31de8
use getbbox instead of getsize in fuzzers.py 2022-06-20 04:35:42 +01:00
Andrew Murray
525c840b0f Updated path after pillow-wheels switched to libjpeg-turbo 2022-01-01 20:15:06 +11:00
pre-commit-ci[bot]
3b69035d4b [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2021-08-25 14:52:20 +00:00
Julien Voisin
9d48143567 Improve the fuzzer wrt. the current atheris version 2021-08-25 16:50:47 +02:00
Andrew Murray
41fc39174a Reset fuzzer LOAD_TRUNCATED_IMAGES and filters to allow for random test order 2021-06-10 13:49:17 +10:00
Eric Soroos
1c872a9eda lint stuff 2021-04-10 16:58:01 +02:00
Eric Soroos
af6fb9c518 xfail the fuzzer check as well 2021-04-10 12:03:39 +02:00
Eric Soroos
43aa6ade6f Local valgrind test target 2021-04-09 13:39:28 +02:00
Eric Soroos
bf8cebc96d Add libxcb to fuzzers 2021-03-28 13:49:37 +02:00
Andrew Murray
94df4ec1c9
Lint fix 2021-03-17 23:16:35 +11:00
Eric Soroos
ad37e86c40 DecompressionBombError is now an option 2021-03-15 00:21:18 +01:00
Eric Soroos
83dabda6b2 Clean up comments and filters 2021-03-15 00:18:07 +01:00
Eric Soroos
d45247eb66 Add decompression bomb error to font fuzzer 2021-03-15 00:14:43 +01:00
Eric Soroos
76e0422eb7 Isort linted that there's an extra line, which black didn't worry about 2021-03-14 14:13:37 +01:00
Eric Soroos
862e3b9d8e Apparently, it's a keyword-only parameter 2021-03-14 14:11:48 +01:00
Eric Soroos
961b2c0242 True 2021-03-14 14:03:41 +01:00
Eric Soroos
487dc16ce6 Can't skip windows properly because the depenedncy is in the decorator 2021-03-14 13:57:24 +01:00
Eric Soroos
bb6b991d8d no colors anymore, they want them to turn black 2021-03-14 13:49:36 +01:00
Eric Soroos
0ea13132a2 Overflow error shows up in x86 2021-03-14 13:42:16 +01:00
Eric Soroos
6189bca3bc Skip fuzzer tests on windows 2021-03-14 13:42:16 +01:00
Eric Soroos
8b06fec6ab linty bits 2021-03-14 13:14:39 +01:00
Eric Soroos
c17ce801cf I see a python file and I want to paint it black 2021-03-14 13:02:48 +01:00
Eric Soroos
becd633d3f Refactor fuzzers, add fuzzer tests 2021-03-14 13:01:27 +01:00
Eric Soroos
e2577d1736 font fuzzer 2021-03-13 11:35:50 +01:00
Eric Soroos
38692f222f Delegate building of oss-fuzz versions to pillow 2021-03-13 11:12:05 +01:00
Andrew Murray
eaeaa181dd
Removed unused import 2021-01-07 23:18:24 +11:00
Eric Soroos
37a7c601cc uglify 2021-01-07 13:07:28 +01:00
Eric Soroos
ffbaa6523d Internal support for oss-fuzz testing 2021-01-07 12:55:11 +01:00