File tree Expand file tree Collapse file tree 5 files changed +16
-1290
lines changed Expand file tree Collapse file tree 5 files changed +16
-1290
lines changed Original file line number Diff line number Diff line change @@ -67,20 +67,20 @@ jobs:
67
67
- name : Install dependencies
68
68
run : uv sync --frozen
69
69
- run : uv run python run.py mypy
70
- # stubtest:
71
- # name: Run stubtest on the the stubs
72
- # runs-on: ubuntu-latest
73
- # steps:
74
- # - uses: actions/checkout@v4
75
- # - name: Set up Python ${{ env.UV_PYTHON }}
76
- # uses: actions/setup-python@v5
77
- # with:
78
- # python-version: ${{ env.UV_PYTHON }}
79
- # - name: Install uv
80
- # uses: astral-sh/setup-uv@v6
81
- # - name: Install dependencies
82
- # run: uv sync --frozen
83
- # - run: uv run python run.py stubtest
70
+ stubtest :
71
+ name : Run stubtest on the the stubs
72
+ runs-on : ubuntu-latest
73
+ steps :
74
+ - uses : actions/checkout@v4
75
+ - name : Set up Python ${{ env.UV_PYTHON }}
76
+ uses : actions/setup-python@v5
77
+ with :
78
+ python-version : ${{ env.UV_PYTHON }}
79
+ - name : Install uv
80
+ uses : astral-sh/setup-uv@v6
81
+ - name : Install dependencies
82
+ run : uv sync --frozen
83
+ - run : uv run python run.py stubtest
84
84
pyright :
85
85
name : Run pyright on the tests and on the stubs
86
86
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 10
10
- id : mixed-line-ending
11
11
- id : check-case-conflict
12
12
- repo : https://github.com/astral-sh/ruff-pre-commit
13
- rev : v0.12.0 # must match requirements.txt
13
+ rev : v0.12.0 # must match uv.lock
14
14
hooks :
15
15
- id : ruff
16
16
- id : ruff-format
Original file line number Diff line number Diff line change @@ -27,15 +27,6 @@ To set up a development environment:
27
27
2 . Install the project dependencies: ` uv sync --frozen `
28
28
3 . Run ` uv run python run.py --help ` for more.
29
29
30
- Alternatively, if you want to use pip instead of ` uv ` :
31
- 1 . Create a virtual environment: ` python -m .venv venv `
32
- 2 . Activate the virtual environment:
33
- - Unix: ` . .venv/bin/activate `
34
- - Windows: ` .venv\Scripts\activate `
35
- 3 . Update ` pip ` : ` python -m pip install --upgrade pip `
36
- 4 . Install the dependencies: ` python -m pip install -r requirements.txt `
37
- 5 . Run ` python run.py --help ` for more.
38
-
39
30
## License
40
31
41
32
This project is licensed under the MIT License.
You can’t perform that action at this time.
0 commit comments