File tree Expand file tree Collapse file tree 6 files changed +553
-450
lines changed
Expand file tree Collapse file tree 6 files changed +553
-450
lines changed Original file line number Diff line number Diff line change 1717 with :
1818 python-version : ' 3.9'
1919 architecture : ' x64'
20- - name : " Python Poetry Action "
21- uses : Gr1N /setup-poetry@v8
20+ - name : " Install uv "
21+ uses : astral-sh /setup-uv@v4
2222 - name : " Install dev dependencies"
2323 run : make install
2424 - name : " Run linters"
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ Minimal Python version: 3.9.x
3636
3737 $ git clone https://github.com/grupy-sanca/dojo-toolkit.git
3838
39- 2. Create the virtual environment using `Poetry <https://python-poetry.org / >`_
39+ 2. Create the virtual environment using `uv <https://docs.astral.sh/uv / >`_
4040::
4141
4242 $ make install
Original file line number Diff line number Diff line change @@ -2,26 +2,27 @@ SHELL := bash
22
33.PHONY : install
44install :
5- poetry install
5+ uv sync --all-extras --dev
66
77.PHONY : test
88test :
9- poetry run pytest -vv --cov=dojo_toolkit --cov-report=term-missing
9+ uv run pytest -vv --cov=dojo_toolkit --cov-report=term-missing
1010
1111.PHONY : lint
1212lint :
13- poetry check --lock
14- poetry run ruff check .
15- poetry run ruff format . --check
13+ uv lock --check
14+ uv run ruff check .
15+ uv run ruff format . --check
1616
1717.PHONY : format
1818format :
19- poetry run ruff check . --fix
20- poetry run ruff format .
19+ uv run ruff check . --fix
20+ uv run ruff format .
2121
2222.PHONY : build
2323build : clean
24- poetry build
24+ uv build
25+
2526.PHONY : clean
2627clean : clean-eggs clean-build
2728 @find . -iname ' *.pyc' -delete
You can’t perform that action at this time.
0 commit comments