mirror of
https://github.com/mesonbuild/meson.git
synced 2026-11-06 05:16:42 +00:00
Ignore ruff F401 warnings for imports that are being used for existance checks
This is the obvious way to do this, try to import, use later if available. Ruff doesn't understand that, so it complains. There just isn't a better way to do this that doesn't end up being a complex dance with `importlib.utils`, specs, etc.
This commit is contained in:
1 parent
14d74d1f5d
commit
4e1397d1e5
1 file changed
+1
-1