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
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,11 +2,11 @@
2
2
3
3
## Minimum Configuration
4
4
5
-
We use `poetry` as our dependency manager and packager.
5
+
We use `uv` as our dependency manager and packager.
6
6
7
-
1. Install `poetry`. We recommend referring to the official documentation section [Installation with the official installer](https://python-poetry.org/docs/#installing-with-the-official-installer). In short, you just need to run:
7
+
1. Install `uv`. We recommend referring to the documentations on [installing uv](https://docs.astral.sh/uv/#installation). In short, you just need to run:
2. Clone the project and navigate to the root directory
@@ -45,7 +45,7 @@ make test
45
45
```
46
46
Or run a specific test (using `test_bert.py` as an example):
47
47
```bash
48
-
poetry run pytest tests/modules/scoring/test_bert.py
48
+
uv run pytest tests/modules/scoring/test_bert.py
49
49
```
50
50
- Check code style (it also applies formatter)
51
51
```bash
@@ -57,7 +57,7 @@ make typing
57
57
```
58
58
Note: If mypy shows different errors locally compared to github actions, you should update your local dependencies:
59
59
```bash
60
-
make update
60
+
make install
61
61
```
62
62
But it still doesn't guarantee that the local type checker will give the same errors as CI. This is because CI is configured to check on Python 3.10 and your local python version is probably the latest one.
0 commit comments