Skip to content

Fix native-extension CI checks and switch linting to Ruff#201

Open
CoolJosh0221 wants to merge 2 commits into
ntucllab:masterfrom
CoolJosh0221:ci-workflow-fixes
Open

Fix native-extension CI checks and switch linting to Ruff#201
CoolJosh0221 wants to merge 2 commits into
ntucllab:masterfrom
CoolJosh0221:ci-workflow-fixes

Conversation

@CoolJosh0221

Copy link
Copy Markdown
Contributor

Makes the native-extension checks in tests.yml trustworthy: the install no longer pipes through tee (which masked pip failures under the default shell), and the jobs verify the build by importing the compiled modules directly instead of grepping build logs for meson message strings. The no-BLAS job now only accepts the two expected modules as missing (ModuleNotFoundError with a matching name) rather than swallowing any ImportError.

Also replaces the errors-only pylint job with Ruff (pinned to 0.15.21) scoped to correctness rules (E9, F, LOG, RUF100), grandfathering pre-existing unused imports/locals in libact/ and examples/, and cleans up a duplicate/unused import in docs/conf.py. ruff check passes on this branch. The lint workflow/job names changed, so any branch-protection required checks referencing the old names need updating.

@ariapoy

ariapoy commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator

#198 needs to be committed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants