Code style¶
Linting and formatting¶
libtmux-mcp uses ruff for linting and formatting:
$ uv run ruff check .
$ uv run ruff format .
Type checking¶
mypy with strict mode:
$ uv run mypy
Docstrings¶
NumPy-style docstrings throughout.
Imports¶
from __future__ import annotationsat the top of every file.import typing as tand access via namespace.Standard-library modules imported by namespace (
import pathlib, notfrom pathlib import Path).