Skip to content

Lint flow config parser and format checker#118

Draft
machshev wants to merge 3 commits intolowRISC:masterfrom
machshev:lint-flow
Draft

Lint flow config parser and format checker#118
machshev wants to merge 3 commits intolowRISC:masterfrom
machshev:lint-flow

Conversation

@machshev
Copy link
Collaborator

No description provided.

machshev and others added 3 commits March 20, 2026 17:20
Move lint flow from flow/lint.py to linting/flow.py to consolidate
lint-related code in the linting module. This is part of separating
flows into standalone components.

Changes:
- Move flow/lint.py → linting/flow.py
- Rename linting/parser.py → linting/output_parser.py to make room
  for new config parser
- Update imports in factory.py, cdc.py, rdc.py

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Add Pydantic-based config parser separate from existing flow config
infrastructure to enable gradual migration to standalone components.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Add 'dvsim-admin check' subcommand to validate flow configuration files.
The check subsystem detects the flow type and validates the config using
the appropriate parser. Currently supports lint flows with extensibility
for other flow types.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
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.

1 participant