Run linters

From CERTCC/Vultron · View interactive version

Run linters is an AI agent skill from the GitHub repository CERTCC/Vultron. Run the canonical set of linters used by maintainers: ruff (lint and format) and mypy.

How to use this skill

Skill file

Skill: Run Linters

The linter step is ruff and mypy (PAD-18-026). ruff runs directly: a whole-tree

pass takes about a second, so a fingerprint lookup would cost a real share of

the work it saves (ADR-0094). mypy is routed through the shared

run-if-changed.sh guard, which skips it when its inputs (the

vultron/+test/ sources, .mypy.ini, and uv.lock) are unchanged since its

last successful run.

uv run ruff check --fix
uv run ruff format
uv run ruff check
G=.agents/skills/shared/run-if-changed.sh
"$G" mypy vultron/ test/ .mypy.ini uv.lock -- uv run mypy

pyright is CI's, not this skill's (PAD-18-027). It took a median of two

minutes in each local step and enough memory to starve a parallel test run,

while CI's lint-pyright job answers in 81–149 s and the required CI gate

refuses a merge until it is green. Do not add it back here or to any other

local gate.

Constraints

pyproject.toml (IMPLTS-07-021), so a bare ruff check covers exactly what CI

and the pre-commit hook cover.

rewrap a line and move an inline # noqa off the line it suppresses.

a # type: ignore[...] on the wrong line (see

notes/codebase-structure.md). The same hazard applies to a

# pyright: ignore[...], which CI's pyright job reports.

CC=10 is a hard failure (IMPLTS-07-008).

delete its # noqa: RULE # ruff-baseline #N marker (IMPLTS-07-020).

reusing a prior pass, not a failure. On failure the guard records nothing, so

the next run re-executes the tool.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.