Commit Graph

6994 Commits

Author SHA1 Message Date
Eric Soroos
9a0c10e10a Typing: Image.getcolors 2018-01-03 12:11:33 +00:00
Eric Soroos
00fef4b5f5 Typing: ImageFilter Image.filter.
Also renamed filter parameter to not shadow builtin
2018-01-03 12:02:55 +00:00
Eric Soroos
6e79536e09 Typing: quantize 2018-01-03 11:45:04 +00:00
Eric Soroos
4aaa3cb171 Added mypy cache to gitignore 2018-01-03 11:43:58 +00:00
Eric Soroos
3697f87be1 Typing: *args to _getencoder, _getdecoder, tobytes, frombytes 2018-01-03 11:38:28 +00:00
Eric Soroos
a0666ccb7c Typing: __array_interface__ 2018-01-03 11:27:03 +00:00
Eric Soroos
e33706bc33 Typing, return required 2018-01-03 11:17:53 +00:00
Eric Soroos
90a7414e06 Fix PyAccess type error 2018-01-03 11:10:51 +00:00
Eric Soroos
f55c6eb23f Type tags for TiffTags 2018-01-03 11:02:07 +00:00
Eric Soroos
3ebc0f2455 Don't reassign crc on close 2018-01-03 10:56:17 +00:00
Eric Soroos
d4604bb62b Remove case for when _imaging module is not present 2018-01-03 10:48:36 +00:00
Eric Soroos
352c4d0cf9 make target for typecheck 2018-01-03 10:38:16 +00:00
Eric Soroos
79a09a27e5 src reorg 2018-01-03 10:37:11 +00:00
wiredfool
b2b035fb32 Use Color type for fillcolor 2018-01-03 10:31:58 +00:00
Eric Soroos
2e94a2e649 Move fp handling into ImageFile 2018-01-03 10:31:58 +00:00
Eric Soroos
af9c0a1cfd clarifying type annotations 2018-01-03 10:31:58 +00:00
neiljp (Neil Pilgrim)
be22cc3165 Type annotations: aliases.py: Remove Any. 2018-01-03 10:31:58 +00:00
neiljp (Neil Pilgrim)
9f011aafe3 Type annotations: _imaging.pyi: Amend Image.resize after API change. 2018-01-03 10:31:58 +00:00
neiljp (Neil Pilgrim)
f4765c9750 Type annotations: _imaging.pyi: Add preliminary merge() stub. 2018-01-03 10:31:58 +00:00
neiljp (Neil Pilgrim)
6353c153f9 Type annotations: Image.py: Add _show and _showxv annotations. 2018-01-03 10:31:58 +00:00
neiljp (Neil Pilgrim)
c23c755acc Type annotations: Image.py: Annotation for not-installed handler. 2018-01-03 10:31:58 +00:00
neiljp (Neil Pilgrim)
d6f89c103c Type annotations: Image.py: Amend Image.resize given new parameter. 2018-01-03 10:31:58 +00:00
neiljp (Neil Pilgrim)
8929e1e0c2 Type annotations: _imaging.pyi typo. 2018-01-03 10:31:58 +00:00
neiljp (Neil Pilgrim)
5ee809495c Type annotations: Image.py: Initial annotation for expression analyzer. 2018-01-03 10:31:58 +00:00
neiljp (Neil Pilgrim)
46cb90f568 Type annotations: Image.py: Correct _conv_type_shape & add _MODE_CONV. 2018-01-03 10:31:58 +00:00
neiljp (Neil Pilgrim)
72393d7703 Type annotations: _imaging.pyi: Many improvements. 2018-01-03 10:31:58 +00:00
neiljp (Neil Pilgrim)
8db8e3214f Type annotations: Image.py: Improve many annotations. 2018-01-03 10:31:58 +00:00
neiljp (Neil Pilgrim)
1c0acf8a04 Type annotations: aliases.py: Add Color type-alias (no Text). 2018-01-03 10:31:58 +00:00
neiljp (Neil Pilgrim)
1af865813d Type annotations: Label all obvious issues and label with 'FIXME TYPING'. 2018-01-03 10:31:58 +00:00
neiljp (Neil Pilgrim)
ab40a28c1c Type annotations: Switch open/save BytesIO->BinaryIO. 2018-01-03 10:31:58 +00:00
neiljp (Neil Pilgrim)
10e2908813 Type annotations: Image.rotate bool->int for a parameter. 2018-01-03 10:31:58 +00:00
neiljp (Neil Pilgrim)
636e7406b3 Type annotations: Amend Image.getdata to return ImagingCore. 2018-01-03 10:31:58 +00:00
neiljp (Neil Pilgrim)
5515520d4c Type annotations: aliases.py: Amend Extrema to use float & int Tuples. 2018-01-03 10:31:58 +00:00
neiljp (Neil Pilgrim)
910236feae Type annotations: Clarify return type of Image.split. 2018-01-03 10:31:58 +00:00
neiljp (Neil Pilgrim)
2ab28d5084 Type annotations: Allow Image.putpalette to accept ImagePalette. 2018-01-03 10:31:58 +00:00
neiljp (Neil Pilgrim)
48e183eaf1 Type annotations: _imaging.pyi: Significantly improve stubs. 2018-01-03 10:31:58 +00:00
neiljp (Neil Pilgrim)
cf043ed16e Type annotations: Correct pixel_access & specify self.readonly. 2018-01-03 10:31:58 +00:00
neiljp (Neil Pilgrim)
2110a7f47b Type annotations: Amend Image.point parameter types. 2018-01-03 10:31:58 +00:00
neiljp (Neil Pilgrim)
0541e239d4 Type annotations: Enable Image.filter to also accept Callable returning Filter. 2018-01-03 10:31:58 +00:00
neiljp (Neil Pilgrim)
cb535be9af Type annotations: Amend __setstate__ to accept Tuple. 2018-01-03 10:31:58 +00:00
neiljp (Neil Pilgrim)
2d0fb6b979 Type annotations: Amend eq/ne to be (object)->bool. 2018-01-03 10:31:58 +00:00
neiljp (Neil Pilgrim)
4c45a312f0 Type annotations: Add Union & Any to aliases.py. 2018-01-03 10:31:58 +00:00
neiljp (Neil Pilgrim)
363e409b58 Type annotations: Annotate self.tile & add FIXME. 2018-01-03 10:31:58 +00:00
neiljp (Neil Pilgrim)
04f7ac3085 Type annotations: Annotate exclusive_fp. 2018-01-03 10:31:58 +00:00
neiljp (Neil Pilgrim)
898c83d261 Type annotations: Correct Image/ImagingCore annotations. 2018-01-03 10:31:58 +00:00
neiljp (Neil Pilgrim)
2c76f3b843 Type annotations: Explicitly mark some Image data types. 2018-01-03 10:31:58 +00:00
neiljp (Neil Pilgrim)
cbe95228ce Type annotations: Improve imports in Image.py. 2018-01-03 10:31:58 +00:00
neiljp (Neil Pilgrim)
5979e0e099 Type annotations: Improve Image.getproject(). 2018-01-03 10:31:58 +00:00
neiljp (Neil Pilgrim)
850e28a02f Type annotations: Add & use Extrema type alias. 2018-01-03 10:31:58 +00:00
neiljp (Neil Pilgrim)
9625b7957e Type annotations: Mark Image.draft to accept (Mode, Size). 2018-01-03 10:31:58 +00:00