@@ -48,8 +48,8 @@ People _love_ thorough bug reports. I'm not even kidding.
4848
4949## Use a Consistent Coding Style
5050
51- Install [ Poetry ] ( https://python-poetry.org/docs/# installation ) to setup the developer environment.
52- It uses [ black ] ( https://github.com/ambv/black ) and [ prettier] ( https://prettier.io/ )
51+ Install [ uv ] ( https://docs.astral.sh/uv/getting-started/ installation/ ) to setup the developer environment.
52+ It uses [ ruff ] ( https://docs.astral.sh/ruff/ ) and [ prettier] ( https://prettier.io/ )
5353to make sure the code follows the style.
5454
5555` pre-commit ` can be used to run all checks with one command (see dedicated section below).
@@ -74,7 +74,7 @@ When writing unittests please follow the good practises like:
7474
7575## Pre-commit
7676
77- With Poetry installed, run ` poetry install ` in the repo root.
77+ With uv installed, run ` uv sync ` in the repo root.
7878It will create a virtualenv with all required packages.
7979
8080After that you can run [ pre-commit] ( https://pre-commit.com/ ) with settings included in the
@@ -83,13 +83,13 @@ repository to have code style and linting checks.
8383Activate ` pre-commit ` git hook:
8484
8585``` console
86- $ poetry run pre-commit install
86+ $ uvx pre-commit install
8787```
8888
8989Now the pre-commit tests will be done every time you commit.
9090
9191You can also run the tests on all repository files manually with this command:
9292
9393``` console
94- $ poetry run pre-commit run --all-files
94+ $ uvx pre-commit run --all-files
9595```
0 commit comments