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 4
4
5
5
## Contributing
6
6
7
- Dependencies are managed using poetry :
7
+ Dependencies are managed using uv :
8
8
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
11
11
12
12
Our CI server runs three checks in the ` selfie-lib ` directory.
13
13
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
18
18
19
19
The same setup is used for ` pytest-selfie ` and ` example-pytest-selfie ` .
20
20
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.
2
2
3
3
Go to https://selfie.dev/py/facets for the tutorial.
4
4
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