Skip to content

Standardize dev tooling (ruff, CI, prettier, editorconfig) - #77

Merged
Maharsh17 merged 4 commits into
mainfrom
standardize-dev-tooling
Aug 9, 2026
Merged

Standardize dev tooling (ruff, CI, prettier, editorconfig)#77
Maharsh17 merged 4 commits into
mainfrom
standardize-dev-tooling

Conversation

@Maharsh17

Copy link
Copy Markdown
Member

Closes #76

Brings the same dev tooling here that vex-agent-integration just adopted, so the two repos share one setup.

What is here

  • Ruff for Python linting and formatting, configured in pyproject.toml with the same shared rule set (pyflakes, import sorting, pyupgrade, bugbear) and the formatter as the source of truth for layout.
  • Prettier and an editorconfig for the frontend, with format and format:check scripts.
  • A CI workflow that lints, checks formatting, and runs both test suites on every push and pull request. The backend job runs pytest against a throwaway Postgres (the suite builds its own schema, so no migration step). The frontend job runs vitest and a production build.

The frontend lockfile is now tracked so CI can install with npm ci.

Commits

The config and CI land first. The two bulk reformats (ruff format, prettier) are each their own commit and are listed in git-blame-ignore-revs so blame stays readable. The reformats are mechanical with no behavior change.

Verification

Ran the full flow locally against a disposable Postgres. All 252 backend tests pass, all 38 frontend tests pass, the production build compiles, and lint and format checks are clean.

Match the dev-tooling setup in vex-agent-integration. Ruff owns Python
linting and formatting, prettier owns the frontend, and a CI workflow runs
the test suites, lint, and format checks on every push and pull request.

The backend job runs pytest against a throwaway Postgres. The suite builds
its own schema on the fly, so there is no migration step. The frontend
lockfile is now tracked so CI can install with npm ci.
Mechanical only. ruff format across the backend, plus safe autofixes
(import sorting, datetime.UTC, unused-import removal). No behavior change.
Mechanical only. First prettier pass over the frontend sources.
@Maharsh17
Maharsh17 merged commit 679acbc into main Aug 9, 2026
2 checks passed
@Maharsh17
Maharsh17 deleted the standardize-dev-tooling branch August 9, 2026 20:55
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.

Standardize dev tooling (ruff, CI, prettier, editorconfig)

1 participant