Metadata-Version: 2.4
Name: tanh-tooling
Version: 0.1.0
Summary: tanh-lab shared Python developer configuration (ruff + pyright bases) and a sync CLI.
Author: Fares Schulz
Requires-Python: >=3.11
Requires-Dist: pyright>=1.1.400
Requires-Dist: ruff>=0.14
Description-Content-Type: text/markdown

# tanh-tooling (Python)

Shared tanh-lab Python developer configuration: a `ruff` base and a `pyright`
base, plus a `tanh-tooling sync` CLI that materialises them into a consuming repo.

## Use it

```sh
uv add tanh-tooling
uv run tanh-tooling sync        # writes ruff_base.toml + pyright_base.json
```

Then keep thin, hand-owned configs that extend the bases:

```toml
# ruff.toml
extend = "ruff_base.toml"
```

```json
// pyrightconfig.json
{ "extends": "pyright_base.json", "include": ["src"] }
```

The synced `ruff_base.toml` / `pyright_base.json` are committed but **generated** —
treat them like a lockfile, never hand-edit. CI drift check:

```sh
uv run tanh-tooling sync --check
```
