Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,20 +67,20 @@ jobs:
- name: Install dependencies
run: uv sync --frozen
- run: uv run python run.py mypy
# stubtest:
# name: Run stubtest on the the stubs
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - name: Set up Python ${{ env.UV_PYTHON }}
# uses: actions/setup-python@v5
# with:
# python-version: ${{ env.UV_PYTHON }}
# - name: Install uv
# uses: astral-sh/setup-uv@v6
# - name: Install dependencies
# run: uv sync --frozen
# - run: uv run python run.py stubtest
stubtest:
name: Run stubtest on the the stubs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ env.UV_PYTHON }}
uses: actions/setup-python@v5
with:
python-version: ${{ env.UV_PYTHON }}
- name: Install uv
uses: astral-sh/setup-uv@v6
- name: Install dependencies
run: uv sync --frozen
- run: uv run python run.py stubtest
pyright:
name: Run pyright on the tests and on the stubs
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repos:
- id: mixed-line-ending
- id: check-case-conflict
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.12.0 # must match requirements.txt
rev: v0.12.0 # must match uv.lock
hooks:
- id: ruff
- id: ruff-format
9 changes: 0 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,6 @@ To set up a development environment:
2. Install the project dependencies: `uv sync --frozen`
3. Run `uv run python run.py --help` for more.

Alternatively, if you want to use pip instead of `uv`:
1. Create a virtual environment: `python -m .venv venv`
2. Activate the virtual environment:
- Unix: `. .venv/bin/activate`
- Windows: `.venv\Scripts\activate`
3. Update `pip`: `python -m pip install --upgrade pip`
4. Install the dependencies: `python -m pip install -r requirements.txt`
5. Run `python run.py --help` for more.

## License

This project is licensed under the MIT License.
Expand Down
Loading