Hugo van Kemenade
dd87dd50c0
Update to isort 5 with Black profile support
2020-08-08 22:39:29 +03:00
Hugo van Kemenade
7b759e160a
Merge pull request #4615 from nulano/clipboard-png
2020-06-21 18:56:04 +03:00
nulano
d2e23e386b
simplify code
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2020-05-28 12:07:53 +01:00
nulano
1656edaf41
fix docs compliance for CF_HDROP
2020-05-09 10:44:19 +02:00
nulano
5728662c7f
add support for CF_DIBV5, CF_HDROP, and 'PNG' in ImageGrab.grabclipboard() on win32
2020-05-09 09:40:58 +02:00
Andrew Murray
6669ffd053
Updated documentation now that Linux is supported
2020-05-03 13:06:25 +10:00
Hugo
dda6145fce
Since Python 3.3 IOError and WindowsError have been merged into OSError
2020-04-10 12:57:29 +03:00
nulano
5253b0cd57
Use NotImplementedError in ImageGrab if using Linux
...
Co-Authored-By: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2020-03-24 19:46:40 +11:00
nulano
0bcc7be89b
xcb screengrab docs and fixes
2020-03-24 19:46:40 +11:00
nulano
f9c74825a6
xcb screengrab fixes
2020-03-24 19:40:54 +11:00
nulano
3c39e6fcf6
xcb screengrab support
2020-03-24 19:29:44 +11:00
Andrew Murray
dd8b0de666
Close excusively opened images
2020-02-18 20:49:05 +11:00
Jon Dufresne
64032061c0
Move several imports to the top-level of the file
...
This better follows PEP 8 style guide:
https://www.python.org/dev/peps/pep-0008/#imports
> Imports are always put at the top of the file, just after any module
> comments and docstrings, and before module globals and constants.
This also avoids duplicate import code within the same file.
2019-10-07 06:28:36 -07:00
nulano
6a2d8f8da0
rename parameter, add note to docs
2019-09-20 17:35:08 +02:00
nulano
fa6b80fddf
add option to capture all monitors on Windows
2019-08-15 20:03:33 +10: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
cab7231e2a
Format with Black
2019-06-11 11:42:05 +03:00
Hugo
53a7e35004
Format with Black
2019-06-10 18:22:46 +03:00
Andrew Murray
568fc2def8
Simplified code
2019-05-04 23:05:07 +10:00
Andrew Murray
70038bd71e
Added option to include layered windows in ImageGrab.grab on Windows
2019-04-26 20:09:46 +10:00
Hugo
ceebfc6fe8
flake8: E501 line too long
2018-11-11 19:01:11 +02:00
Andrew Murray
d265757651
Continuation line unaligned for hanging indent
2018-10-21 17:59:51 +11:00
wiredfool
0bb3f4fee9
source layout reorg
2017-12-28 14:49:47 +00:00