From 6a471a2de85bb7e2c9980b60ba5bc65f64bd3678 Mon Sep 17 00:00:00 2001 From: Kirk Rodrigues <2454684+kirkrodrigues@users.noreply.github.com> Date: Sat, 5 Oct 2024 07:09:23 -0400 Subject: [PATCH] Activate venv before calling clang-tidy. --- lint-tasks.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lint-tasks.yml b/lint-tasks.yml index 196eadb1..1b943e8b 100644 --- a/lint-tasks.yml +++ b/lint-tasks.yml @@ -101,6 +101,8 @@ tasks: --config-file=.clang-tidy deps: [":config-cmake-project", "cpp-configs", "venv"] cmd: |- + . "{{.G_LINT_VENV_DIR}}/bin/activate" + # Pass emscripten's cflags to clang-tidy by prefixing each one with `--extra-arg` EXTRA_ARGS=$("{{.G_EMSDK_DIR}}/upstream/emscripten/em++" --cflags \ | tr ' ' '\n' \