File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed
Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 44
55## Contributing
66
7- Dependencies are managed using poetry :
7+ Dependencies are managed using uv :
88
9- - https://python-poetry.org/docs/#installing-with-the-official-installer
10- - then cd into ` selfie-lib ` and run ` poetry install `
9+ - https://docs.astral.sh/uv/getting-started/installation/
10+ - then cd into ` selfie-lib ` and run ` uv sync ` to get the dependencies
1111
1212Our CI server runs three checks in the ` selfie-lib ` directory.
1313
14- - ` poetry run pytest` - run tests
15- - ` poetry run pyright` - type checking
16- - ` poetry run ruff format --check && poetry run ruff check` - code lint & formatting
17- - ` poetry run ruff format && poetry run ruff check --fix` to fix
14+ - ` uv run pytest` - run tests
15+ - ` uv run pyright` - type checking
16+ - ` uv run ruff format --check && uv run ruff check` - code lint & formatting
17+ - ` uv run ruff format && uv run ruff check --fix` to fix
1818
1919The same setup is used for ` pytest-selfie ` and ` example-pytest-selfie ` .
2020
Original file line number Diff line number Diff line change @@ -2,6 +2,6 @@ The purpose of this project is to demonstrate selfie for the manual.
22
33Go to https://selfie.dev/py/facets for the tutorial.
44
5- - First run ` poetry install `
6- - You can run the app locally with ` poetry run python app.py`
7- - You can run the tests with ` poetry run pytest`
5+ - First run ` uv sync `
6+ - You can run the app locally with ` uv run python app.py`
7+ - You can run the tests with ` uv run pytest`
You can’t perform that action at this time.
0 commit comments