Commit Graph

8830 Commits

Author SHA1 Message Date
Jon Dufresne
8fac23b3df Clean up several Sphinx warnings
Appeared as:

    Pillow/docs/reference/ImageDraw.rst:137: WARNING: Unexpected indentation.
    Pillow/docs/reference/ImageDraw.rst:164: WARNING: Unexpected indentation.
    Pillow/docs/reference/ImageDraw.rst:177: WARNING: Unexpected indentation.
    Pillow/docs/reference/ImageDraw.rst:208: WARNING: Unexpected indentation.
    Pillow/docs/reference/ImageStat.rst:24: WARNING: Explicit markup ends without a blank line; unexpected unindent.
2019-07-06 17:12:09 -07:00
Jon Dufresne
d8594041b5 Remove empty, unused directory docs/_static 2019-07-06 16:37:57 -07:00
Jon Dufresne
d50445ff30 Introduce isort to automate import ordering and formatting
Similar to the recent adoption of Black. isort is a Python utility to
sort imports alphabetically and automatically separate into sections. By
using isort, contributors can quickly and automatically conform to the
projects style without thinking. Just let the tool do it.

Uses the configuration recommended by the Black to avoid conflicts of
style.

Rewrite TestImageQt.test_deprecated to no rely on import order.
2019-07-06 16:11:35 -07:00
Hugo
844a550a34
Merge pull request #3936 from nulano/revert-3931-update-freetype-epsilon
Revert "Update epsilon for FreeType 2.10 with eg. Unicode width 16" and skip test_unicode_extended on Python 2.x instead
2019-07-06 18:26:03 +03:00
Andrew Murray
6568829d08
Merge pull request #3942 from hugovk/report-pytest-skips
Report reason for pytest skips
2019-07-06 09:03:23 +10:00
Hugo
83b99c6b12 pytest bug fixed on Python 3.8, can remove space 2019-07-05 15:55:06 +03:00
Hugo
6528d3b7f1
Merge pull request #3949 from nulano/winbuild_output
Print winbuild compile output properly in Python 3.x
2019-07-05 08:54:35 +03:00
nulano
b80aa67db2 print winbuild compile output properly 2019-07-04 23:04:16 +02:00
Hugo
f59d3f8f9d
Remove unused landscape.yml configuration file (#3944)
Remove unused landscape.yml configuration file
2019-07-04 14:52:15 +03:00
Hugo
e7f3f161dd
Include tox.ini in sdist (#3939)
Include tox.ini in sdist
2019-07-04 14:52:00 +03:00
Hugo
f808976c48
Install raqm on Travis (#3947)
Install raqm on Travis
2019-07-04 14:50:18 +03:00
Andrew Murray
13224bf029 Removed unused argument 2019-07-04 20:07:33 +10:00
Jon Dufresne
962f21360c Remove unused landscape.yml configuration file
Unused since af4d830ce9 and
a2f873c661 removed the health badges.
2019-07-03 06:38:47 -07:00
Jon Dufresne
1627856127 Include tox.ini in sdist
It is considered good practice to include test files in the source
distribution, as well as the files used to run them. It allows packagers
and users to run the tests locally to ensure the package is complete and
working.
2019-07-03 06:16:54 -07:00
Andrew Murray
f7d2079634 Install raqm on Travis 2019-07-03 23:03:09 +10:00
Hugo
ea5b30d212
Remove duplicate run of selftest.py (#3941)
Remove duplicate run of selftest.py
2019-07-03 15:06:59 +03:00
Hugo
ff870fb028
Remove check-manifest from .travis/script.sh (#3940)
Remove check-manifest from .travis/script.sh
2019-07-03 15:06:48 +03:00
Hugo
50693f8e59
Added explicit braces (#3937)
Added explicit braces
2019-07-03 15:05:15 +03:00
Alex Clark
a8bef34a32
Merge pull request #3943 from python-pillow/add-license-to-setup
Add license to setup.py for #3938
2019-07-03 07:36:12 -04:00
Alex Clark
2c041ac77e Lint fix 2019-07-03 05:32:39 -04:00
Alex Clark
c33ffca440 Add license to setup.py for #3938
Also update author name and email
2019-07-03 05:29:42 -04:00
Hugo
292b4d038c 6.2.0.dev0 version bump 2019-07-03 08:49:24 +03:00
Jon Dufresne
ce7c8e8bbc Remove check-manifest from .travis/script.sh
check-manifest already exists as part of the lint tox target "lint"
which is run by Travis CI. There is no need to re-run the same check as
part of each test run.
2019-07-02 18:46:31 -07:00
Jon Dufresne
e221b4ecff Remove duplicate run of selftest.py
The make target 'install-coverage' already runs selftest.py. Avoid
running the same script a second time to slightly speed up builds.
2019-07-02 18:18:17 -07:00
nulano
0b0dc1112e Merge branch 'master' into revert-3931-update-freetype-epsilon
# Conflicts:
#	Tests/test_imagefont.py
2019-07-02 22:49:45 +02:00
Hugo
aaca672173
Revert #3780 for PyPy3 as it hasn't been updated yet. (#3935)
Revert #3780 for PyPy3 as it hasn't been updated yet.
2019-07-02 22:10:33 +03:00
nulano
d7c69ea2b4 skip test_unicode_extended on Python 2.x 2019-07-02 11:14:09 +02:00
nulano
22ce5cc0c7
Revert "Update epsilon for FreeType 2.10 with eg. Unicode width 16" 2019-07-02 11:08:48 +02:00
Hugo
56aa3b37b1 Report reason for pytest skips 2019-07-02 11:52:14 +03:00
nulano
14ddfd30b2 fix lint 2019-07-02 09:31:05 +02:00
nulano
86d4c53d79 revert #3780 for PyPy as it hasn't been updated 2019-07-02 08:52:15 +02:00
Hugo
eedac360dc
fix bad loop increments in p2i() and p2f() (#3932)
fix bad loop increments in p2i() and p2f()
2019-07-01 22:18:19 +03:00
Rolf Eike Beer
0e0afd4acf fix bad loop increments in p2i() and p2f()
Fixes: 7a4af2b767
2019-07-01 20:25:52 +02:00
Hugo
9300ced1e1
Update epsilon for FreeType 2.10 with eg. Unicode width 16 (#3931)
Update epsilon for FreeType 2.10 with eg. Unicode width 16
2019-07-01 18:32:38 +03:00
Hugo
46535df8f3 Update epsilon for FreeType 2.10 with eg. Unicode width 16 2019-07-01 16:32:22 +03:00
Andrew Murray
8fd1ed9b73 Added explicit braces 2019-07-01 22:07:45 +10:00
Hugo
c5578b7fd7 6.1.0 version bump 2019-07-01 14:17:21 +03:00
Hugo
673a6b84a8
Add release notes for #3608, #3861 and #3886 (#3930)
Add release notes for #3608, #3861 and #3886
2019-07-01 13:11:33 +03:00
Hugo
f10712f006
Merge branch 'master' into release-notes 2019-07-01 12:58:30 +03:00
Hugo
7855a6fc2f
Docs: Add deprecation of Image.__del__ (#3929)
Docs: Add deprecation of Image.__del__
2019-07-01 12:57:54 +03:00
Hugo
f2b9e88f6d
Tiff: Add support for JPEG quality (#3886)
Tiff: Add support for JPEG quality
2019-07-01 12:57:41 +03:00
Andrew Murray
4c9f92cbe8 Updated CHANGES.rst [ci skip] 2019-07-01 19:52:40 +10:00
Hugo
e62dcc3d48 Add #3886 to release notes and CHANGES 2019-07-01 12:20:08 +03:00
Oliver Tonnhofer
edeb8d69af
Merge branch 'master' into tiff-jpeg-quality 2019-07-01 11:00:06 +02:00
Hugo
a2919f98ff Add #3928 to release notes, and #3928 and #3929 to CHANGES 2019-07-01 10:05:57 +03:00
Hugo
c15383695b Deprecate Image.__del__ 2019-07-01 09:55:54 +03:00
Hugo
66241cacc1 Add release notes for #3608 and #3861 2019-07-01 09:11:09 +03:00
Hugo
469c0aeeed Deprecate Image.__del__ 2019-07-01 08:45:19 +03:00
Hugo
7585136a3d
Merge pull request #3928 from chewi/master
Respect the PKG_CONFIG environment variable when building
2019-07-01 08:31:20 +03:00
Hugo
555e305a60
Merge pull request #3225 from DerDakon/unaligned-access
Use explicit memcpy() to avoid unaligned memory accesses
2019-07-01 08:22:18 +03:00