Skip to content

fix: resolve 5 ruff lint errors blocking CI (unused imports + import order)#11

Merged
marcabru-tech merged 1 commit into
masterfrom
copilot/fix-ruff-import-errors
Apr 4, 2026
Merged

fix: resolve 5 ruff lint errors blocking CI (unused imports + import order)#11
marcabru-tech merged 1 commit into
masterfrom
copilot/fix-ruff-import-errors

Conversation

Copilot AI commented Apr 4, 2026

Copy link
Copy Markdown
Contributor

PR #10 introduced control flow, DecisionTrace, IPIITranspiler, and expanded GuruMatrix cells — all 191 tests pass, but the quality CI job fails on ruff before tests even run.

Changes

  • src/compiler/context_analyzer.py — drop unused BlockNode import
  • src/gurudev/ipii/transpiler.py — drop unused from typing import Any and unused Intent from intent_analyzer import
  • src/gurumatrix/cells.py — drop unused Optional from typing import
  • src/runtime/gurudvm.py — fix I001: reorder imports so stdlib (typing) precedes local (gurumatrix)
# before
from typing import Any, Dict, List, Optional
from gurumatrix.core import Dominio, GuruMatrix, Ontologia  # I001

# after (ruff-sorted)
from typing import Any, Dict, List, Optional

from gurumatrix.core import Dominio, GuruMatrix, Ontologia

@marcabru-tech marcabru-tech marked this pull request as ready for review April 4, 2026 13:56
@marcabru-tech marcabru-tech merged commit 0d5b137 into master Apr 4, 2026
10 checks passed
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