66 publish:tag :
77 vars :
88 PROJ_VERSION :
9- sh : poetry version | awk '{print $2}'
9+ sh : uv version | awk '{print $2}'
1010 prompt : " Before we build, is the version {{.PROJ_VERSION}} number up to date?"
1111 desc : tags the current commit
1212 cmds :
@@ -16,54 +16,54 @@ tasks:
1616 prompt : Have you made sure the version number is up to date?
1717 desc : builds publishable python package
1818 cmds :
19- - poetry build
19+ - uv build
2020 test :
2121 desc : runs tests inside the virtualenv
2222 summary : runs all the tests inside the virtualenv, optionally
2323 provide the name of the test as an argument to run a single test
2424
2525 this does not run coverage or provide tap output
2626 cmds :
27- - poetry run coverage run -m pytest -s tests/{{.CLI_ARGS}}
27+ - uv run coverage run -m pytest -s tests/{{.CLI_ARGS}}
2828 test:tap :
2929 desc : runs tests with tap output
3030 summary : runs all the tests inside the virtualenv, optionally
3131 provide the name of the test as an argument to run a single test
3232 cmds :
33- - poetry run coverage run -m pytest -s --tap tests/{{.CLI_ARGS}}
33+ - uv run coverage run -m pytest -s --tap tests/{{.CLI_ARGS}}
3434 test:list :
3535 desc : lists the available tests
3636 summary : runs collect only on pytest to list the tests available
3737 cmds :
38- - poetry run pytest --co
38+ - uv run pytest --co
3939 test:coverreport :
4040 desc : runs coverage inside the server container
4141 cmds :
42- - poetry run coverage report -m
42+ - uv run coverage report -m
4343 lint :
4444 desc : runs the linter
4545 cmds :
46- - poetry run flake8 gallagher tests
46+ - uv run flake8 gallagher tests
4747 black :
4848 desc : runs black on the codebase
4949 cmds :
50- - poetry run black gallagher tests
50+ - uv run black gallagher tests
5151 dev:textual :
5252 desc : runs the textual cli
5353 cmds :
54- - poetry run textual -- {{.CLI_ARGS}}
54+ - uv run textual -- {{.CLI_ARGS}}
5555 dev:tui :
5656 desc : runs text gallagher console in dev mode
5757 cmds :
58- - poetry run textual run --dev gallagher.tui
58+ - uv run textual run --dev gallagher.tui
5959 dev:py :
60- desc : runs python in the poetry shell
60+ desc : runs python in the uv shell
6161 cmds :
62- - poetry run python -- {{.CLI_ARGS}}
62+ - uv run python -- {{.CLI_ARGS}}
6363 dev:docs :
6464 desc : run the mkdocs server with appropriate flags
6565 cmds :
66- - cd docs && poetry run mkdocs serve --open -a localhost:8001
66+ - cd docs && uv run mkdocs serve --open -a localhost:8001
6767 debug:get :
6868 desc : use httpie to get payload from CC
6969 summary : |
0 commit comments