mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2026-08-30 04:06:37 +00:00
docs: run development commands with uv
This commit is contained in:
+4
-4
@@ -58,14 +58,14 @@ Our code style checks use [`pre-commit`](https://pre-commit.com).
|
||||
To run formatting automatically before every commit:
|
||||
|
||||
```bash
|
||||
pre-commit install
|
||||
pre-commit install --hook-type commit-msg --hook-type pre-push
|
||||
uv run pre-commit install
|
||||
uv run pre-commit install --hook-type commit-msg --hook-type pre-push
|
||||
```
|
||||
|
||||
Or run them manually:
|
||||
|
||||
```bash
|
||||
pre-commit run --all-files
|
||||
uv run pre-commit run --all-files
|
||||
```
|
||||
|
||||
### Tests
|
||||
@@ -73,7 +73,7 @@ pre-commit run --all-files
|
||||
Use `pytest` to run tests locally:
|
||||
|
||||
```bash
|
||||
python -m pytest -vs --cov src --cov-report term-missing tests/
|
||||
uv run python -m pytest -vs --cov src --cov-report term-missing tests/
|
||||
```
|
||||
|
||||
### Commit message style
|
||||
|
||||
Reference in New Issue
Block a user