T-run (Tool Run)
Config-dir-aware CLI wrapper and pre-commit hook dispatcher.
Reads a config-dir setting from pyproject.toml and routes tools
(ruff, black, isort, mypy, flake8, pylint) to look for their config
files there, instead of the project root.
pyproject.toml
[tool]
config-dir = "config" # default: "1_config"
Quickstart
pipx install t-run # global
trun init
trun black .
Usage
To run individual commands
trun black .
trun pre-commit run
trun pylint *
trun ruff check .
To run command groups
Add groups of command in trun.toml and run using trun run
lint = ["pre-commit run --all-files"]
fix = ["ruff check --fix", "ruff format"]
trun run lint
trun run fix
pre-commit
repos:
- repo: https://github.com/rsb-23/trun
rev: v0.0.4
hooks:
- id: black
- id: isort
- id: flake8
- id: ...
Only the hooks you list are installed — each pulls its own pinned
dependency via additional_dependencies in .pre-commit-hooks.yaml.
Build
pip install --group build
python -m build
License
MIT
Metadata
Release files for t-run 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| t_run-0.0.4.tar.gz | 3.4 kB | With provenance | Details for t_run-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| t_run-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for t_run-0.0.4-py3-none-any.whl |
Total release size: 7.9 kB
Release files / t_run-0.0.4.tar.gz
| Download URL | t_run-0.0.4.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bcbed47b2d21a29f9fc08c2a0d2263526c8f4eda4931d312777c9cb672b10753
|
|
BLAKE2b-256 checksum How to use checksums |
d41517c9b243a1aaeeb0f591794e42db3f266ea45a02fc289dcbbb8d341ccaec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 11, 2026.
Transparency logRelease files / t_run-0.0.4-py3-none-any.whl
| Download URL | t_run-0.0.4-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ef84fbdb89248146f61977c771dfb952b5ee698b7e1ecd1695357ac00be3651e
|
|
BLAKE2b-256 checksum How to use checksums |
d0f961e8bd42ac2806ae656de7c809bb345c104c3a74464f93153cc800dd1434
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 11, 2026.
Transparency logSecurity for t-run 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for t_run-0.0.4.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 11, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.