Commit Graph

8410 Commits

Author SHA1 Message Date
Hugo
1893ac2492
Update CHANGES.rst 2018-10-24 22:35:15 +03:00
Hugo
4530f55c61
Merge pull request #3385 from radarhere/gif_background
Change tuple background to global color table index when saving as GIF
2018-10-24 22:34:40 +03:00
Hugo
5df41b4399 Unnecessary generator - rewrite as a list comprehension 2018-10-24 22:29:56 +03:00
Hugo
088d04470e Unnecessary list comprehension - 'tuple' can take a generator 2018-10-24 22:29:56 +03:00
Hugo
d69ef6a529 Remove redundant parentheses 2018-10-24 22:29:56 +03:00
Hugo
619e5fde8d Remove unused local variables 2018-10-24 22:29:01 +03:00
Hugo
bac99bd5ae Add assert for previously unused 'lut' variable 2018-10-24 22:29:01 +03:00
Hugo
4352edb1ec Assert all images in loop 2018-10-24 22:29:01 +03:00
Hugo
fc3a159c87 More specific exception clause 2018-10-24 22:29:01 +03:00
Hugo
cb8a4bac21 Use set literal 2018-10-24 22:29:01 +03:00
Hugo
bab194b6f5 Fix DeprecationWarning: invalid escape sequence 2018-10-24 22:29:01 +03:00
Hugo
a3b0659790 flake8 2018-10-24 22:29:01 +03:00
Hugo
d1ca4916e0 Use more specific assertions 2018-10-24 22:29:01 +03:00
Hugo
901c1e2aea Simplify test skipping 2018-10-24 22:29:01 +03:00
Hugo
da9a3dae63
Merge pull request #3435 from python-pillow/readthedocs
Install project using pip in ReadTheDocs build
2018-10-24 14:54:05 +03:00
Andrew Murray
989b358cd1 Install project using pip in ReadTheDocs build 2018-10-24 19:46:43 +11:00
Hugo
cd3dc0794d
Merge pull request #3424 from radarhere/imagegrab
Improved ImageGrab tests
2018-10-22 15:59:01 +03:00
Andrew Murray
bd9cfb124b Added ImageGrab.grabclipboard test 2018-10-22 18:55:16 +11:00
Andrew Murray
467d2089be Enabled ImageGrab.grab test on AppVeyor 2018-10-22 18:39:07 +11:00
Andrew Murray
94925c5057
Merge pull request #3423 from hugovk/fix-feature-tests
Fix some tests
2018-10-22 08:53:26 +11:00
Hugo
06ad343d35 Simplify skipping 2018-10-21 17:47:35 +03:00
Hugo
e33812c56c Remove redundant parentheses 2018-10-21 17:05:40 +03:00
Hugo
cbba2c24bf Remove unused helper method 2018-10-21 17:05:14 +03:00
Hugo
cfc4c3e101 Switch check_ to test_ to enable them 2018-10-21 16:44:12 +03:00
Hugo
a1b9f94d60 skipUnless takes a condition and _reason_ 2018-10-21 16:42:41 +03:00
Hugo
fc28e47385
Update CHANGES.rst 2018-10-21 16:24:39 +03:00
Hugo
0d0a4e4ebe
Merge pull request #3422 from radarhere/flake8
Flake8 fixes
2018-10-21 16:23:44 +03:00
Andrew Murray
929f7397db Line too long 2018-10-21 18:26:08 +11:00
Andrew Murray
c7d924fd85 Too many blank lines 2018-10-21 18:11:50 +11:00
Andrew Murray
ac20a02b7a Do not use bare 'except' 2018-10-21 18:11:39 +11:00
Andrew Murray
f2d4d19cc4 Undefined name 2018-10-21 18:00:52 +11:00
Andrew Murray
d1f9803aeb Expected 2 blank lines, found 1 2018-10-21 18:00:39 +11:00
Andrew Murray
94b3e53496 Missing whitespace after ':' 2018-10-21 18:00:16 +11:00
Andrew Murray
ede35510c1 Continuation line over-indented for visual indent 2018-10-21 17:59:59 +11:00
Andrew Murray
d265757651 Continuation line unaligned for hanging indent 2018-10-21 17:59:51 +11:00
Andrew Murray
77f807cf73 Continuation line under-indented for visual indent 2018-10-21 17:59:27 +11:00
Andrew Murray
6099ddeef9 Expected 1 blank line before a nested definition 2018-10-21 17:59:18 +11:00
Hugo
fdea5a28e9
Merge pull request #3421 from hugovk/update-pypy
Use a newer Python for the virtualenv for PyPy
2018-10-20 12:27:22 +03:00
Andrew Murray
b581b0e0fc Update CHANGES.rst [ci skip] 2018-10-20 08:04:08 +11:00
Hugo
866658eadf Use a newer Python for the virtualenv for PyPy 2018-10-19 22:02:47 +03:00
Hugo
a2908734f3
Merge pull request #3417 from kkopachev/issue-3413
Only ask for YCbCr->RGB libtiff conversion for jpeg-compressed tiffs
2018-10-19 21:58:39 +03:00
Konstantin Kopachev
28cdb993b9
Convert tabs into spaces [ci skip] 2018-10-19 11:43:22 -07:00
Andrew Murray
e84a78d828 Only close existing fp if fp is exclusive 2018-10-19 20:12:08 +11:00
Konstantin Kopachev
2bf3ceee85
Only ask for YCbCr->RGB libtiff conversion for jpeg-compressed tiffs
JPEG-related tiff pseudo-tags are registered only when tiff image has jpeg compression. Trying to set TIFFTAG_JPEGCOLORMODE on non jpeg-compressed file prints error "Unknown pseudo-tag 65538".
2018-10-18 21:27:51 -07:00
Andrew Murray
f4ce428a4f Update CHANGES.rst [ci skip] 2018-10-18 20:10:54 +11:00
Alexander Karpinsky
2222a581ab
Merge pull request #3409 from uploadcare/resize-from-box-in-fit
Optimise ImageOps.fit by combining resize and crop
2018-10-18 11:55:06 +03:00
Alexander
61e46c265e [ci skip] fix notes 2018-10-18 11:40:42 +03:00
Alexander Karpinsky
b8e7f646f3
Merge pull request #3415 from python-pillow/fix-webp-loading-from-blob
Quick fix: revert #3341 due to regression
2018-10-18 11:38:29 +03:00
Alexander
6cabcadae4 add release notes 2018-10-18 10:58:20 +03:00
Alexander
e26696cb8a skip old test 2018-10-18 10:33:52 +03:00