You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,13 +44,13 @@ You can set up your local environment natively or using `docker`, check out the
44
44
45
45
Example of running all the checks with docker:
46
46
```bash
47
-
docker-compose run --rm package bash -c "pipenv install --dev && pipenv run mypy meilisearch && pipenv run pylint meilisearch tests && pipenv run pytest tests"
47
+
docker-compose run --rm package bash -c "uv run mypy meilisearch && uv run pylint meilisearch tests && uv run pytest tests"
48
48
```
49
49
50
50
To install dependencies:
51
51
52
52
```bash
53
-
pipenv install --dev
53
+
uv sync
54
54
```
55
55
56
56
### Tests and Linter <!-- omit in toc -->
@@ -62,23 +62,23 @@ Your PR also needs to be formatted using black and isort.
62
62
# Tests
63
63
curl -L https://install.meilisearch.com | sh # download Meilisearch
64
64
./meilisearch --master-key=masterKey --no-analytics # run Meilisearch
65
-
pipenv run pytest tests
65
+
uv run pytest tests
66
66
# MyPy
67
-
pipenv run mypy meilisearch
67
+
uv run mypy meilisearch
68
68
# Linter
69
-
pipenv run pylint meilisearch tests
69
+
uv run pylint meilisearch tests
70
70
# Black
71
-
pipenv run black meilisearch tests
71
+
uv run black meilisearch tests
72
72
# Isort
73
-
pipenv run isort meilisearch tests
73
+
uv run isort meilisearch tests
74
74
```
75
75
76
76
Optionally tox can be used to run test on all supported version of Python, mypy, and linting.
77
77
78
78
```bash
79
79
docker pull getmeili/meilisearch:latest # Fetch the latest version of Meilisearch image from Docker Hub
80
80
docker run -p 7700:7700 getmeili/meilisearch:latest meilisearch --master-key=masterKey --no-analytics
81
-
pipenv run tox
81
+
uv run tox
82
82
```
83
83
84
84
To check if your `yaml` files are correctly formatted, you need to [install yamllint](https://yamllint.readthedocs.io/en/stable/quickstart.html#installing-yamllint) and then run `yamllint .`
0 commit comments