Toolkit for python code lint/test/bump ...
Source Code: https://github.com/waketzheng/fast-dev-cli
English | 中文
Python 3.10+
- Support uv/pd/mpoetry
- Support MacOS/Linux/Windows
- Global install
uv tool install --python 3.14 fastdevcli-slim
# Or: pipx install fastdevcli-slim*Will create a fast command in ~/.local/bin
- Install in project
pip install fast-dev-cliWill install: fast-dev-cli emoji typer-slim mypy bumpversion2 pytest coverage
- Lint py code:
fast lint [/path/to/file-or-directory]- Check only
fast check- Bump up version in pyproject.toml
fast bump patch # 0.1.0 -> 0.1.1
fast bump minor # 0.1.0 -> 0.2.0
fast bump major # 0.1.0 -> 1.0.0
fast bump <part> --commit # bump version and run `git commit`- Run unittest and report coverage
fast test- Install dependencies, support pip/pdm/uv/poetry
fast deps- Start a fastapi server in development mode
fast dev- Change register of uv.lock to be pypi.org
fast pypiNote: all command support the --dry option
uvx --from fastdevcli-slim fastfast lint --ty
fast check --ty