]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf python: Fix setup.py mypy errors
authorIan Rogers <irogers@google.com>
Tue, 11 Mar 2025 21:36:28 +0000 (14:36 -0700)
committerNamhyung Kim <namhyung@kernel.org>
Mon, 24 Mar 2025 16:38:20 +0000 (09:38 -0700)
commitba3b0861edc5ec7754872ce7426d86642fd4d44a
treed735d56c22dc96b86cef0d102308080214285f8b
parent21944462d5a90e1b87637a5f2fa3f5d76bbc042b
perf python: Fix setup.py mypy errors

getenv may return None, so assert it isn't None for CC and srctree
environmental variables required for the script.
Disable an optional warning related to Popen.

Reviewed-by: James Clark <james.clark@linaro.org>
Signed-off-by: Ian Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/20250311213628.569562-7-irogers@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/util/setup.py