From dfd37918d6913b783ead915d608b5951386f5974 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20K=C4=99pie=C5=84?= Date: Tue, 18 Mar 2025 06:19:01 +0100 Subject: [PATCH] Broaden vulture exclude glob for ans.py servers The vulture tool seems to be unable to follow how the parent classes defined in bin/tests/system/qmin/qmin_ans.py use mandatory properties specified by child classes in bin/tests/system/qmin/ans*/ans.py. Make the tool ignore not just ans.py servers, but also *_ans.py utility modules above the ansX/ subdirectories to prevent false positives about unused code from causing CI pipeline failures. --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9cf947e5fc3..5544a0ac7ca 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -584,7 +584,7 @@ vulture: <<: *precheck_job needs: [] script: - - vulture --exclude "*/ans*/ans.py,conftest.py,isctest" --ignore-names "pytestmark" bin/tests/system/ + - vulture --exclude "*ans.py,conftest.py,isctest" --ignore-names "pytestmark" bin/tests/system/ ci-variables: stage: precheck -- 2.47.3