Toolkit for python code lint/test/bump ...
Source Code: https://github.com/waketzheng/fast-dev-cli
English | 中文
Python 3.10+
pip install "fast-dev-cli"
Will install: fast-dev-cli typer ruff mypy bumpversion pytest coverage
- Lint py code:
fast lint /path/to/file-or-directory
- Check only
fast check
- Bump up version in pyproject.toml
fast bump
- Run unittest and report coverage
fast test
- Export requirement file and install
pip install -r
fast sync
- Upgrade main/dev dependencies to latest version
fast upgrade
- Start a fastapi server in development mode
fast dev