[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] 2022-07-18 06:17:07 +00:00
parent 08db23c61c
commit aba0859db9

View File

@ -852,7 +852,7 @@ class pil_build_ext(build_ext):
sys.platform == "win32" sys.platform == "win32"
and sys.version_info < (3, 9) and sys.version_info < (3, 9)
and not (PLATFORM_PYPY or PLATFORM_MINGW) and not (PLATFORM_PYPY or PLATFORM_MINGW)
and int(setuptools_version.split('.')[0]) < 60 and int(setuptools_version.split(".")[0]) < 60
): ):
defs.append(("PILLOW_VERSION", f'"\\"{PILLOW_VERSION}\\""')) defs.append(("PILLOW_VERSION", f'"\\"{PILLOW_VERSION}\\""'))
else: else: