File tree Expand file tree Collapse file tree 5 files changed +1541
-1826
lines changed
Expand file tree Collapse file tree 5 files changed +1541
-1826
lines changed Original file line number Diff line number Diff line change @@ -41,16 +41,15 @@ jobs:
4141 runs-on : ubuntu-latest
4242 steps :
4343 - uses : actions/checkout@v5
44- - name : Set up Python
45- uses : actions /setup-python@v6
44+ - name : Set up uv
45+ uses : astral-sh /setup-uv@v7
4646 with :
4747 python-version : ${{ matrix.python-version }}
48- - uses : snok/install-poetry@v1.4.1
4948 - name : Install Dependencies
50- run : poetry install
49+ run : uv pip sync --all-extras
5150 shell : bash
5251 - name : Test with Pytest
53- run : poetry run pytest --log-cli-level=DEBUG -vv -s
52+ run : pytest --log-cli-level=DEBUG -vv -s
5453 shell : bash
5554 release :
5655 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 11# See https://pre-commit.com for more information
22# See https://pre-commit.com/hooks.html for more hooks
33exclude : " CHANGELOG.md"
4- default_stages : [ commit ]
4+ default_stages : [ pre- commit ]
55
66repos :
77 - repo : https://github.com/pre-commit/pre-commit-hooks
@@ -17,10 +17,11 @@ repos:
1717 - id : detect-private-key
1818 - id : end-of-file-fixer
1919 - id : trailing-whitespace
20- - repo : https://github.com/python-poetry/poetry
21- rev : 1.7 .1
20+ - repo : https://github.com/astral-sh/uv-pre-commit
21+ rev : 0.9 .1
2222 hooks :
23- - id : poetry-check
23+ - id : uv-sync
24+ args : ["--locked", "--all-packages"]
2425 - repo : https://github.com/codespell-project/codespell
2526 rev : v2.2.6
2627 hooks :
You can’t perform that action at this time.
0 commit comments