[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2021-11-03 17:16:19 +00:00
parent c8391aaa4b
commit b542da8eb5

View File

@ -887,7 +887,9 @@ class pil_build_ext(build_ext):
else:
self._remove_extension("PIL._webp")
tk_libs = ["psapi"] if (sys.platform == "win32" or sys.platform == "cygwin") else []
tk_libs = (
["psapi"] if (sys.platform == "win32" or sys.platform == "cygwin") else []
)
self._update_extension("PIL._imagingtk", tk_libs)
build_ext.build_extensions(self)