Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP]: Type annotations for Image.py #2687

Closed
wants to merge 39 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
5003d44
Type annotations: Image.py.
neiljp Aug 17, 2017
1d1dcc2
Type annotations: Switch to type alias for Mode & add self.im annotat…
neiljp Aug 18, 2017
1e29eef
Type annotations: Adjust Filter import.
neiljp Aug 18, 2017
0fa2b7c
Type annotations: Adjust __repr__ return & ignore ne/eq.
neiljp Aug 18, 2017
dfce721
Type annotations: Add stubs for _imaging; aliases into aliases.py.
neiljp Aug 18, 2017
af87bfe
Type annotations: Mark Image.draft to accept (Mode, Size).
neiljp Aug 19, 2017
6d464c0
Type annotations: Add & use Extrema type alias.
neiljp Aug 19, 2017
9c350d8
Type annotations: Improve Image.getproject().
neiljp Aug 19, 2017
3ce17dc
Type annotations: Improve imports in Image.py.
neiljp Aug 18, 2017
e868aa9
Type annotations: Explicitly mark some Image data types.
neiljp Aug 19, 2017
65fb9d8
Type annotations: Correct Image/ImagingCore annotations.
neiljp Aug 19, 2017
dad7aef
Type annotations: Annotate exclusive_fp.
neiljp Aug 19, 2017
cbb9817
Type annotations: Annotate self.tile & add FIXME.
neiljp Aug 19, 2017
10e8cd6
Type annotations: Add Union & Any to aliases.py.
neiljp Aug 19, 2017
19e68bd
Type annotations: Amend eq/ne to be (object)->bool.
neiljp Aug 20, 2017
c2634c2
Type annotations: Amend __setstate__ to accept Tuple.
neiljp Aug 20, 2017
8856c4a
Type annotations: Enable Image.filter to also accept Callable returni…
neiljp Aug 20, 2017
1270beb
Type annotations: Amend Image.point parameter types.
neiljp Aug 20, 2017
a03eea1
Type annotations: Correct pixel_access & specify self.readonly.
neiljp Aug 20, 2017
9112e3f
Type annotations: _imaging.pyi: Significantly improve stubs.
neiljp Aug 20, 2017
0ac87cc
Type annotations: Allow Image.putpalette to accept ImagePalette.
neiljp Aug 20, 2017
8e90f33
Type annotations: Clarify return type of Image.split.
neiljp Aug 20, 2017
d936e0f
Type annotations: aliases.py: Amend Extrema to use float & int Tuples.
neiljp Aug 21, 2017
8213ec0
Type annotations: Amend Image.getdata to return ImagingCore.
neiljp Aug 21, 2017
42d3a3d
Type annotations: Image.rotate bool->int for a parameter.
neiljp Aug 21, 2017
8debf5d
Type annotations: Switch open/save BytesIO->BinaryIO.
neiljp Aug 21, 2017
27632d1
Type annotations: Label all obvious issues and label with 'FIXME TYPI…
neiljp Aug 21, 2017
0303544
Type annotations: aliases.py: Add Color type-alias (no Text).
neiljp Aug 22, 2017
67d353c
Type annotations: Image.py: Improve many annotations.
neiljp Aug 21, 2017
65b39e1
Type annotations: _imaging.pyi: Many improvements.
neiljp Aug 22, 2017
b52e078
Type annotations: Image.py: Correct _conv_type_shape & add _MODE_CONV.
neiljp Aug 22, 2017
b94e8e1
Type annotations: Image.py: Initial annotation for expression analyzer.
neiljp Aug 22, 2017
26bac89
Type annotations: _imaging.pyi typo.
neiljp Aug 24, 2017
446c38c
Type annotations: Image.py: Amend Image.resize given new parameter.
neiljp Aug 31, 2017
7f18d6e
Type annotations: Image.py: Annotation for not-installed handler.
neiljp Aug 31, 2017
3f9890c
Type annotations: Image.py: Add _show and _showxv annotations.
neiljp Aug 31, 2017
c5dbd89
Type annotations: _imaging.pyi: Add preliminary merge() stub.
neiljp Aug 31, 2017
61b42e6
Type annotations: _imaging.pyi: Amend Image.resize after API change.
neiljp Aug 31, 2017
02241b4
Type annotations: aliases.py: Remove Any.
neiljp Aug 31, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading