Andrew Murray
68fdd2a9e7
Further improve exception traceback readability
2022-12-30 14:24:28 +11:00
Hugo van Kemenade
2ae55ccbda
Improve exception traceback readability
2022-12-30 00:07:52 +02:00
Hugo van Kemenade
959e576dd2
Use f-string
2022-06-15 21:43:18 +03:00
Jingxuan He
b47bcc246f
Fix a potential wrong operator bug
2022-06-15 17:39:37 +02:00
Andrew Murray
bcded33cee
Merge pull request #6195 from hugovk/cleanup
...
Cleanup: various
2022-04-26 18:51:44 +10:00
Andrew Murray
35fbf22250
Merge branch 'main' into cleanup-names
2022-04-16 19:49:40 +10:00
Hugo van Kemenade
7fa92c67b1
[Private] class names should be CamelCase
2022-04-10 23:55:16 +03:00
Hugo van Kemenade
ee85e387ba
Remove redundant parentheses
2022-04-10 23:39:54 +03:00
Hugo van Kemenade
4cb8e4b3fa
Add deprecations helper
2022-04-06 13:19:52 +03:00
Andrew Murray
ed8073e846
Deprecated constants in favour of enums
2022-01-15 10:07:07 +11:00
Andrew Murray
f8e4e9c2dd
Added enums
2022-01-15 09:02:31 +11:00
Andrew Murray
97ed2ecd97
Changed URLs to https
2021-10-27 22:51:54 +11:00
Andrew Murray
622a1cd542
Changed URLs to HTTPS
2021-07-12 21:00:36 +10:00
Andrew Murray
c196af6ddb
Fixed loading profile with non-ASCII path on Windows
2020-09-13 13:53:58 +10:00
Hugo van Kemenade
e0eec1eb56
Merge branch 'master' into rm-3.5
2020-09-01 20:16:46 +03:00
Hugo van Kemenade
10615a7da7
Upgrade Python syntax for 3.6+
...
Co-authored-by: nulano <nulano@nulano.eu>
2020-07-30 10:09:18 +03:00
Hugo van Kemenade
780294302d
Merge pull request #4734 from nulano/refs-missing
2020-06-28 09:29:31 +03:00
nulano
471f24f660
fix PyCMSError references
...
(cherry picked from commit 63d0fb4f70
)
2020-06-27 15:33:05 +02:00
Ram Rachum
2f0d430807
Fix exception causes all over the codebase
2020-06-21 13:21:25 +03:00
Andrew Murray
09d58147ca
Changed errors to be code formatted, instead of bold
2020-06-12 23:57:21 +10:00
Andrew Murray
7dd818fc36
Added periods
2020-06-12 08:09:51 +10:00
Andrew Murray
ab0ac93cb8
Added period
...
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-06-12 07:51:38 +10:00
Andrew Murray
bb01312ba9
Improved formatting
2020-06-11 22:42:13 +10:00
nulano
309291563a
return None if display profile not found in ImageCms.get_display_profile
2020-02-16 21:06:13 +11:00
Andrew Murray
b0b3097018
Explicity return None
...
Co-Authored-By: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-02-16 20:35:39 +11:00
Andrew Murray
466da649f5
get_display_profile is only supported on Windows
2020-02-16 20:35:39 +11:00
Hugo
3e24c5fea4
Replace isStringType(t) with isinstance(t, str)
...
Co-Authored-By: Jon Dufresne <jon.dufresne@gmail.com>
2019-10-08 17:26:52 +03:00
Hugo
538d9e2e5d
Upgrade Python syntax with pyupgrade --py3-plus
2019-10-07 14:30:59 +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
Andrew Murray
78d4b7f03e
Fixed typos
2019-06-25 05:54:14 +10:00
Hugo
53a7e35004
Format with Black
2019-06-10 18:22:46 +03:00
Warren Weckesser
4edfee3118
Make import from _util a relative import.
2019-04-14 14:54:36 -04:00
Hugo
90886b1888
Merge branch 'master' into imagecms-deprecations
2019-03-27 12:03:54 +02:00
Andrew Murray
75cce8d3aa
Default to "", like the others
...
Co-Authored-By: hugovk <hugovk@users.noreply.github.com>
2019-03-27 12:02:51 +02:00
Hugo
3513c82a73
Use Pillow version instead of forked PIL version
2019-01-30 15:46:14 +02:00
Hugo
3476474359
Add warnings to deprecated CMS profile attributes
2019-01-28 15:40:19 +02:00
Hugo
e1381d2102
Add warnings to deprecated CMS profile attributes
2019-01-28 15:40:19 +02:00
Hugo
a149c13d2e
Add warnings to deprecated CMS profile attributes
2019-01-28 15:40:19 +02:00
Hugo
7d157bd825
Add warnings to deprecated CMS profile attributes
2019-01-28 15:40:19 +02:00
Jon Dufresne
0ae7b3374e
Use bool type for ImageCms inPlace argument (instead of int)
...
The argument is used as a bool and the docs describe it as a bool, so
use an actual bool.
2019-01-07 20:22:52 -08:00
Hugo
ceebfc6fe8
flake8: E501 line too long
2018-11-11 19:01:11 +02:00
Andrew Murray
ac20a02b7a
Do not use bare 'except'
2018-10-21 18:11:39 +11:00
Andrew Murray
c2189235af
Line too long
2018-07-02 19:26:02 +10:00
Andrew Murray
2202196162
Flake8 blank line fixes
2018-03-04 21:36:33 +11:00
Andrew Murray
c255948860
Fixed typo
2018-01-26 16:52:07 +11:00
Andrew Murray
1aefc90cb0
Removed __main__ code
2018-01-13 16:41:01 +11:00
wiredfool
0bb3f4fee9
source layout reorg
2017-12-28 14:49:47 +00:00