This project uses uv for dependency management and enforces strict linting, formatting, and type-checking standards. All Coding Agents MUST follow these instructions after generating or modifying code to ensure compatibility with the project's CI/CD pipelines.
From the repository root (where this AGENTS.md file lives), run the following commands inside the v3/ directory:
-
Code Formatting: Format the code using
ruff.uv run ruff format . -
Linting: Run
ruffcheck to identify and fix potential issues.uv run ruff check --fix . -
Type Checking: Verify type safety with
mypy.uv run mypy --ignore-missing-imports .
- Language: All code, documentation, and comments MUST be written in English.
- Dependencies: Use
uvfor all dependency management tasks (e.g.,uv sync,uv run). - CI Alignment: These steps align with the
.github/workflows/linting.ymland.github/workflows/type-tests.ymlconfigurations.
Ensure all checks pass before considering a task complete.