Skip to main content

lint

Run and fix the repository static analysis suite.

소스 정보

저장소
ethereum/execution-specs
최근 소스 활동
2026년 10월 16일 15:13
감지된 SKILL.md 언어
영어
스타
1,207
포크
529

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
lint
description
Run and fix the repository static analysis suite.
# Lint Run the full static analysis suite and fix issues. This matches the CI check on every PR. ## Step 1: Run the Full Check ```bash just static ``` This runs ruff (lint and format check), mypy, codespell, ethereum-spec-lint, vulture, actionlint, and a `uv.lock` freshness check in one pass. If everything passes, you're done. ## Step 2: Auto-Fix Formatting and Lint Issues If static checks report ruff errors, run the fix recipe first — it resolves most issues automatically: ```bash just fix ``` ## Step 3: Resolve Remaining Issues Manually After auto-fix, re-run to see what's left: ```bash just static ``` - **Remaining ruff issues**: fix manually (auto-fix can't handle all rules) - **mypy errors**: fix type annotations, add missing types, correct signatures - **codespell errors**: fix typos, or add intentional words via `just whitelist <word>` - **ethereum-spec-lint errors**: fix import isolation violations (see `/implement-eip` for import rules) - **actionlint errors**: fix workflow YAML issues (see `/edit-workflow`) - **vulture (deadcode) errors**: remove the dead code, or add a genuine false positive to `vulture_whitelist.py` - **lock-check errors**: run `uv lock` and commit the updated `uv.lock` ## Step 4: Final Verification Re-run until clean: ```bash just static ```
GitHub에서 보기