File tree Expand file tree Collapse file tree 3 files changed +18
-8
lines changed Expand file tree Collapse file tree 3 files changed +18
-8
lines changed Original file line number Diff line number Diff line change @@ -21,10 +21,13 @@ jobs:
21
21
with :
22
22
python-version : ${{ matrix.python-version }}
23
23
24
+ - name : Install uv
25
+ run : curl -LsSf https://astral.sh/uv/install.sh | sh
26
+
24
27
- name : Install dependencies
25
28
run : |
26
- python -m pip install --upgrade pip
27
- pip install -e .[dev]
29
+ source $HOME/.cargo/env
30
+ uv pip install --system -e .[dev]
28
31
29
32
- name : Lint and Format Check with ruff
30
33
run : |
Original file line number Diff line number Diff line change @@ -161,17 +161,24 @@ Contributions are welcome! Please feel free to open an issue or submit a pull re
161
161
162
162
### Development Setup
163
163
164
+ We use [ uv] ( https://github.com/astral-sh/uv ) for managing our development environment.
165
+
164
166
1 . Clone the repository.
165
- 2 . Create a virtual environment and activate it.
166
- 3 . Install pre-commit hooks:
167
+ 2 . Install ` uv ` (see [ official instructions] ( https://github.com/astral-sh/uv#installation ) ).
168
+ 3 . Create and activate a virtual environment:
169
+ ``` bash
170
+ uv venv
171
+ source .venv/bin/activate
172
+ ```
173
+ 4. Install pre-commit hooks:
167
174
` ` ` bash
168
175
pre-commit install
169
176
` ` `
170
- 4 . Install the package in editable mode with development dependencies:
177
+ 5 . Install the package in editable mode with development dependencies:
171
178
` ` ` bash
172
- pip install -e .[dev]
179
+ uv pip install -e .[dev]
173
180
` ` `
174
- 5 . Run tests:
181
+ 6 . Run tests:
175
182
` ` ` bash
176
183
pytest
177
184
` ` `
Original file line number Diff line number Diff line change 1
1
[tools ]
2
2
node = " 24.4.0"
3
3
python =" 3.13.5"
4
-
4
+ uv = " 0.7.20 "
You can’t perform that action at this time.
0 commit comments