repos:

- repo: https://github.com/pre-commit/mirrors-mypy

Views0
PublishedFeb 1, 2026

Loading actions...

5 minBeginnerpromptSingle file

Skill content

Main instructions and any bundled files for this skill.

markdown

repos:

this is not technically always safe but usually is

use comments # isort: off and # isort: on to disable/re-enable isort

this is slightly dangerous because python imports have side effects

and this tool removes unused imports, which may be providing

necessary side effects for the code to run

  • repo: https://github.com/PyCQA/autoflake rev: b567334b9fc699fc169af0ad1ea0ff0fc017fbeb hooks:
    • id: autoflake args:
      • "--in-place"
      • "--expand-star-imports"
      • "--remove-duplicate-keys"
      • "--remove-unused-variables"
      • "--remove-all-unused-imports" exclude: "evals/init.py"

This allows ruff to run and autofix the code

The line length is so high because some of the evals are very long

TODO: fix the evals and then reduce the line length here

Share: