Repository navigation
basictest: c-lint changed instruments on the Ubuntu clang leg - #3246
Merged
Merged
Conversation
mctest --lint now reports the number of warnings and lines of linter output. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Free-form text area
mcstas-basictest.yml/mcxtrace-basictest.yml: the changed instr/comps step also runsmctest --lint(default linterclang --analyze) on the Ubuntu clang leg only. It does not fail the job; the results land in their own_lintcolumn of the changes table.mctest --lintnow reports, per instrument, the number of warnings (clang'sN warnings generated) and the lines of linter output belowINFO: Linting generated code, e.g.BNL_H8 : Linter only, 26 warnings, 2477 lines of linter outputAdding
-Wall -Wextrato the--analyzeflags was tried and changes nothing (analyzer mode drops compiler warnings), so linter flags are unchanged.Declaration of use of AI-tools
Co-Authored-Byline naming the tool, see CONTRIBUTING.mdDevelopment OS / boundary conditions
macOS (arm64), mccode-dev conda env: patched
mctest --lint --instr=BNL_H8run, counts checked againstgrep/awkoncompile_stdout.txt. The workflow change is untested until this PR's CI runs.PR Checklist for contributing to McStas/McXtrace
My contribution contains something else
Tip for reviewers: Visit
https://blueblazin.github.io/blockviz/#github=[URL_of_this_PR]for a visual look at code changes🤖 Generated with Claude Code