Commit Graph

39 Commits

Author SHA1 Message Date
Andrew Murray
4140cd807b
Merge branch 'master' into rm-2.7 2019-10-12 18:03:58 +11:00
Hugo
538d9e2e5d Upgrade Python syntax with pyupgrade --py3-plus 2019-10-07 14:30:59 +03:00
Hugo
af770a6c55 Drop support for EOL Python 2.7 2019-10-07 14:30:59 +03:00
nulano
a26a6e5028 test-windows.yml build_dep others, codecov 2019-09-24 11:33:03 +02:00
nulano
cf9529bbe6 keep echo on 2019-09-21 20:03:24 +02:00
Hugo
f136187249 Remove --dist option to create deprecated bdist_wininst installers 2019-08-18 10:48:43 +03: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
nulano
b80aa67db2 print winbuild compile output properly 2019-07-04 23:04:16 +02:00
Hugo
471220093b Format with Black 2019-06-13 18:54:57 +03:00
Andrew Murray
6b59e060bb Added Freetype to AppVeyor 2019-04-06 12:56:29 +11:00
Hugo
c353225851 Prefer 'except Exception:' to bare 'except:' 2018-12-04 23:25:28 +02:00
Hugo
f3c1f08f5b noqa the few remaining long and hard-to-split lines 2018-12-04 23:25:27 +02:00
Hugo
ceebfc6fe8 flake8: E501 line too long 2018-11-11 19:01:11 +02:00
Andrew Murray
d1f9803aeb Expected 2 blank lines, found 1 2018-10-21 18:00:39 +11:00
Andrew Murray
afb6ba5626 Added Python 3.5-3.7 AppVeyor builds 2018-10-08 19:43:11 +11:00
Hugo
3515ae3d9e Test with coverage on Windows, update 'setup.py test' 2017-12-28 14:48:19 +00:00
wiredfool
bc5f9a3e8b add pypy to appveyor 2017-07-03 23:05:25 +01:00
Jon Dufresne
d244fbb299 Remove unnecessary calls to dict.keys()
iter(dict) is equivalent to iter(dict.keys()), so simply act on the dict
instead of adding the extra call.

Inspired by Lennart Regebro's PyCon 2017 presentation "Prehistoric
Patterns in Python". Available at:

https://www.youtube.com/watch?v=V5-JH23Vk0I
2017-05-28 09:55:38 -07:00
Andrew Murray
8cd70e74cc Set executable flag on scripts with shebang line 2017-03-31 19:43:19 +11:00
hugovk
bbb0ab9101 Fix invalid string escapes 2017-01-12 21:28:24 +02:00
Jon Dufresne
dbe9f85c7d Drop support for Python 2.6
* Drop unittest2 requirement
* Use set literals
* Use dict/set comprehension
* Use str.format() automatic numbering
2016-11-22 04:23:55 -08:00
hugovk
99945b5287 flake8 2016-08-29 15:06:48 +03:00
Andrew Murray
5e5bda95e0 Removed trailing whitespace 2016-06-30 20:12:50 +01:00
wiredfool
710126e32c Added wheel builds/artifact 2016-05-24 03:49:41 -07:00
Andrew Murray
a69e477605 Corrected indentation 2016-05-10 21:35:47 +10:00
wiredfool
0c97af69bf print stdout as well 2016-05-06 09:10:10 -07:00
hugovk
eb73fe3bdb flake8 2015-06-26 10:39:13 +03:00
Andrew Murray
bbf3b52357 Flake8 fixes 2015-06-20 14:46:04 +10:00
Andrew Murray
8a7080cbce Health fixes 2015-06-20 14:41:47 +10:00
wiredfool
4aa925d749 tcl support 2015-06-19 16:27:42 -07:00
wiredfool
54d159bd42 multiprocess build creates race conditions in temp build directories 2015-06-18 22:44:18 -07:00
wiredfool
ac50350f3d fix pythonpath for virtualenvs 2015-06-16 09:24:51 -07:00
wiredfool
1bdb3653d0 delegate to env variable for x64 extension, is -x64 on appveyor, has been x64 elsewhere 2015-06-15 17:49:25 -07:00
wiredfool
a69a47c042 refactoring for PYTHON environment 2015-06-11 13:11:26 -07:00
wiredfool
680310c7e2 use the PYTHON environment variable to choose the python 2015-06-11 10:55:42 -07:00
wiredfool
9c6a9172c0 works with nose/unittest 2014-08-22 21:35:01 -07:00
wiredfool
991aeed975 debugging updates 2014-06-05 00:09:50 +00:00
wiredfool
251749b110 python/multiprocessing build process + clean/dist options 2014-04-04 16:29:58 -07:00
wiredfool
1ad678a5ea build pillow for all the pythons 2014-04-04 13:01:07 -07:00