Skip to content

chore(lint): reduce Ruff exceptions - #107

Merged
tetsuo-cpp merged 1 commit into
canonfrom
lint/reduce-ruff-exceptions
Aug 29, 2026
Merged

chore(lint): reduce Ruff exceptions#107
tetsuo-cpp merged 1 commit into
canonfrom
lint/reduce-ruff-exceptions

Conversation

@tetsuo-cpp

Copy link
Copy Markdown
Owner

Summary

  • add type annotations and explicit unused callback parameters to the GPT-2 demo
  • infer attention launch dimensions from the input tensor to simplify the demo API
  • rewrite GPU header parsing to comply with Ruff and remove avoidable per-file ignores
  • retain only intentional exceptions for tests, subprocess tools, and CLI scripts

Verification

  • uv run ruff check gpu_test demo
  • uv run ruff format --check gpu_test demo
  • uv run pytest -q gpu_test/test_compiler.py gpu_test/test_vast_session.py (10 passed)

@tetsuo-cpp
tetsuo-cpp enabled auto-merge (rebase) August 29, 2026 16:49
@tetsuo-cpp
tetsuo-cpp merged commit a952aad into canonAug 29, 2026
1 check passed
@tetsuo-cpp
tetsuo-cpp deleted the lint/reduce-ruff-exceptions branch August 29, 2026 16:57
Sign up for freeto 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.

1 participant

@tetsuo-cpp