Skip to content

A handy tool for configuring a `pyproject.toml` file generated by `poetry`, as well as generating `justfile` and `.pre-commit-config.yaml` files based on what tools you are using.

YUKI2eN3e/pyproject-cli

Repository files navigation

pyproject-cli

A handy tool for configuring a pyproject.toml file generated by poetry, as well as generating justfile and .pre-commit-config.yaml files based on what tools you are using.

pyproject-cli --help

Install

just install

OR

poetry install
poetry build
py -m pipx install ./dist/`ls -t dist | head -n2 | grep whl`

NOTE: Use python3 instead of py if you don't have it installed.

Development

Setup

just setup

OR

poetry install
poetry run mypy . 2> /dev/null ; yes | poetry run mypy --install-types
poetry run pre-commit install

Run

just run ARGS_HERE

OR

poetry run pyproject-cli ARGS_HERE

Formatting

just format

OR

poetry run ruff check --select I --fix .
poetry run ruff format .

Linting

just lint

OR

poetry run ruff check --select I --fix .
poetry run ruff format .
poetry run ruff check .
poetry run mypy .

About

A handy tool for configuring a `pyproject.toml` file generated by `poetry`, as well as generating `justfile` and `.pre-commit-config.yaml` files based on what tools you are using.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published