mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
lint
This commit is contained in:
parent
be0d0a3a48
commit
834c2e5e5d
4
setup.py
4
setup.py
|
@ -373,11 +373,11 @@ class pil_build_ext(build_ext):
|
|||
self.feature.required.add("freetype")
|
||||
for x in ("raqm", "fribidi"):
|
||||
if getattr(self, f"system_{x}"):
|
||||
if getattr(self, f"disable_raqm"):
|
||||
if getattr(self, "disable_raqm"):
|
||||
raise ValueError(
|
||||
f"Conflicting options: --system-{x} and --disable-raqm"
|
||||
)
|
||||
if x == "fribidi" and getattr(self, f"system_raqm"):
|
||||
if x == "fribidi" and getattr(self, "system_raqm"):
|
||||
raise ValueError(
|
||||
f"Conflicting options: --system-{x} and --system-raqm"
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user