This release is a pre-release and may not be stable for production use.
batou-type
Type-check batou deployment components against batou stubs.
Finds all components/**/*.py files in the current directory and runs type checkers on them.
Usage
batou-type setup # configure project for IDE type checking (run once)
batou-type check # ty (default)
batou-type check -c mypy # mypy only
batou-type check -c ty -c mypy # both checkers
batou-type check --fix # fix in-place
batou-type check --diff # preview fixes as unified diff
batou-type check --fix --virtual # fix with tempdir safety check
After batou-type setup, ty check components/ produces the same diagnostics — enabling zero-config IDE integration via ty LSP.
Exit code 0 — no errors (or no component files found). Exit code 1 — at least one type error detected.
Autofix
Automatically fix missing batou_ext.* imports and self._ dereferencing. See usage docs for flags and examples.
Migration Testing
Install a newer batou-type in an existing deployment — type errors reveal API changes before upgrading batou. See usage docs.
What It Checks
Discovers every components/**/*.py file and runs type checkers on them. Virtual environments (.venv/, appenv) are added to the search path automatically. If no component files are found, exits cleanly.
Full documentation: docs/user/usage.md
Release files for batou-type 2.8.0.dev0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| batou_type-2.8.0.dev0.tar.gz | 41.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| batou_type-2.8.0.dev0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 116.8 kB
Release files / batou_type-2.8.0.dev0.tar.gz
| Download URL | batou_type-2.8.0.dev0.tar.gz |
|---|---|
| Size | 41.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fe4e43497fcc87c64c1293005b071141b0b085ec3d5997ef7e327acb4246fe27
|
|
BLAKE2b-256 checksum How to use checksums |
15d164ae2043f6ddd6832d0c08c1f98d4cfbc16db514ef7562985fa302be4dcf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.11 {"installer":{"name":"uv","version":"0.11.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / batou_type-2.8.0.dev0-py3-none-any.whl
| Download URL | batou_type-2.8.0.dev0-py3-none-any.whl |
|---|---|
| Size | 75.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b049043a144719b4ca281e261ba91a2a94b58459b2d008d5b21b9ebcd770d819
|
|
BLAKE2b-256 checksum How to use checksums |
cb107882236cb8a42efc7c67bc356a2216bb3a58c83ed493836188b986b0ba61
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.11 {"installer":{"name":"uv","version":"0.11.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|