ClangBuiltLinux / tc-build

A set of scripts to build LLVM and binutils
Apache License 2.0
219 stars 179 forks source link

tc_build: llvm: Switch to Path.glob() #239

Closed nathanchance closed 1 year ago

nathanchance commented 1 year ago

A new ruff warning suggests switching to Path.glob() over glob.glob():

tc_build/llvm.py:258:12: PTH207 Replace `glob` with `Path.glob` or `Path.rglob`

While it is a little more verbose, it allows us to drop an import, so just do it to silence the warning.