From 1c286b5273d113bf9ca648dcfdaea17a84690219 Mon Sep 17 00:00:00 2001 From: Ruslan Sayfutdinov Date: Wed, 6 Nov 2024 15:50:40 +0000 Subject: [PATCH] Update CONTRIBUTING.md --- CONTRIBUTING.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b570f00..7fc57e7 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -45,7 +45,7 @@ People _love_ thorough bug reports. I'm not even kidding. ## Use a Consistent Coding Style Install [uv](https://docs.astral.sh/uv/getting-started/installation/) and run `uv sync` to setup the developer environment. -We use [black](https://github.com/ambv/black) and [prettier](https://prettier.io/) +We use [ruff](https://docs.astral.sh/ruff/) and [prettier](https://prettier.io/) to make sure the code follows the style. `pre-commit` can be used to run all checks with one command (see dedicated section below). @@ -71,7 +71,7 @@ repository to have code style and linting checks. Activate `pre-commit` git hook: ```console -$ uv run pre-commit install +$ uvx pre-commit install ``` Now the pre-commit tests will be done every time you commit. @@ -79,5 +79,5 @@ Now the pre-commit tests will be done every time you commit. You can also run the tests on all repository files manually with this command: ```console -$ uv run pre-commit run --all-files +$ uvx pre-commit run --all-files ```