Skip to content

Commit fb792ff

Browse files
committed
switch to uv from poetry
1 parent c72c4cf commit fb792ff

File tree

6 files changed

+292
-354
lines changed

6 files changed

+292
-354
lines changed

.github/workflows/tests.yaml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,21 @@ jobs:
2525
run: |
2626
sudo apt install libgirepository1.0-dev -y
2727
28-
- name: Install Poetry and Deps
29-
run: |
30-
python -m pip install --upgrade pip
31-
pip install poetry && poetry --version
32-
poetry install --with dev
28+
- name: Install uv
29+
uses: astral-sh/setup-uv@v4
30+
with:
31+
enable-cache: true
32+
cache-dependency-glob: "uv.lock"
33+
python-version: ${{ matrix.python-version }}
34+
35+
- name: Install the dependencies
36+
run: uv sync --all-extras --dev
3337

3438
- name: Ruff Format/Lint
3539
run: |
36-
poetry run ruff format --check
37-
poetry run ruff check
40+
uv run ruff format --check
41+
uv run ruff check
3842
3943
- name: Run Pytest
4044
run: |
41-
poetry run coverage run -m pytest -v && poetry run coverage report -m
45+
uv run coverage run -m pytest -v && uv run coverage report -m

.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.12

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,7 @@ No, please use up-to-date software
6464
- [X] Add sub-menu to pick target languages
6565
- [X] Key Event presses follows target language mapping
6666
- [X] Port it to GTK 4
67+
68+
### References
69+
70+
- [PyGObject Docs](https://amolenaar.pages.gitlab.gnome.org/pygobject-docs/index.html)

0 commit comments

Comments
 (0)