From 811a65d3c6b35a91ccd437fa81ddd36bdd28a07b Mon Sep 17 00:00:00 2001 From: willcl-ark Date: Thu, 5 Dec 2024 11:23:08 +0000 Subject: [PATCH] lint: bump MLC to v0.19.0 Fixes: #31044 This MLC update includes a change which will ignore files being ignored by git, and help avoid false-positives when linting in this repo. --- ci/lint/04_install.sh | 2 +- test/lint/test_runner/src/main.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ci/lint/04_install.sh b/ci/lint/04_install.sh index d899c0c67a917..9ef1f37c73885 100755 --- a/ci/lint/04_install.sh +++ b/ci/lint/04_install.sh @@ -59,7 +59,7 @@ curl -sL "https://github.com/koalaman/shellcheck/releases/download/${SHELLCHECK_ tar --xz -xf - --directory /tmp/ mv "/tmp/shellcheck-${SHELLCHECK_VERSION}/shellcheck" /usr/bin/ -MLC_VERSION=v0.18.0 +MLC_VERSION=v0.19.0 MLC_BIN=mlc-x86_64-linux curl -sL "https://github.com/becheran/mlc/releases/download/${MLC_VERSION}/${MLC_BIN}" -o "/usr/bin/mlc" chmod +x /usr/bin/mlc diff --git a/test/lint/test_runner/src/main.rs b/test/lint/test_runner/src/main.rs index 42c880052ebd0..81816308dc1ea 100644 --- a/test/lint/test_runner/src/main.rs +++ b/test/lint/test_runner/src/main.rs @@ -516,6 +516,7 @@ fn lint_markdown() -> LintResult { "--ignore-path", md_ignore_path_str.as_str(), "--gitignore", + "--gituntracked", "--root-dir", ".", ])