File tree Expand file tree Collapse file tree 14 files changed +504
-653
lines changed
Expand file tree Collapse file tree 14 files changed +504
-653
lines changed Original file line number Diff line number Diff line change @@ -19,10 +19,10 @@ jobs:
1919 with :
2020 python-version : ${{ matrix.python-version }}
2121
22- - name : Install Poetry
23- uses : abatilo/actions-poetry@v4
22+ - name : Install uv
23+ uses : astral-sh/setup-uv@v6
2424 with :
25- poetry- version : " 2.2.1 "
25+ version : " 0.9.2 "
2626
2727 - name : Install Mise
2828 uses : jdx/mise-action@v3
3333 uses : extractions/setup-just@v3
3434
3535 - name : Install optional
36- run : poetry install --all-extras
36+ run : uv sync --all-extras
3737
3838 - name : Run Formatter
3939 run : just format
Original file line number Diff line number Diff line change @@ -19,10 +19,10 @@ jobs:
1919 with :
2020 python-version : ${{ matrix.python-version }}
2121
22- - name : Install Poetry
23- uses : abatilo/actions-poetry@v4
22+ - name : Install uv
23+ uses : astral-sh/setup-uv@v6
2424 with :
25- poetry- version : " 2.2.1 "
25+ version : " 0.9.2 "
2626
2727 - name : Install Mise
2828 uses : jdx/mise-action@v3
3333 uses : extractions/setup-just@v3
3434
3535 - name : Install optional
36- run : poetry install --all-extras
36+ run : uv sync --all-extras
3737
3838 - name : Run Linter
3939 run : just lint
Original file line number Diff line number Diff line change @@ -19,10 +19,10 @@ jobs:
1919 with :
2020 python-version : ${{ matrix.python-version }}
2121
22- - name : Install Poetry
23- uses : abatilo/actions-poetry@v4
22+ - name : Install uv
23+ uses : astral-sh/setup-uv@v6
2424 with :
25- poetry- version : " 2.2.1 "
25+ version : " 0.9.2 "
2626
2727 - name : Install Mise
2828 uses : jdx/mise-action@v3
3333 uses : extractions/setup-just@v3
3434
3535 - name : Install optional
36- run : poetry install --all-extras
36+ run : uv sync --all-extras
3737
3838 - name : Run Unit Tests
3939 run : just test
Original file line number Diff line number Diff line change 1- # Editor Stuff
2- .idea /
3-
4- # Byte-compiled / optimized / DLL files
1+ # Python-generated files
52__pycache__ /
6- * .py [cod ]
7- * $py.class
8-
9- # C extensions
10- * .so
11-
12- # Distribution / packaging
13- .Python
3+ * .py [oc ]
144build /
15- develop-eggs /
165dist /
17- downloads /
18- eggs /
19- .eggs /
20- lib /
21- lib64 /
22- parts /
23- sdist /
24- var /
256wheels /
26- * .egg-info /
27- .installed.cfg
28- * .egg
29- MANIFEST
30-
31- # PyInstaller
32- # Usually these files are written by a python script from a template
33- # before PyInstaller builds the exe, so as to inject date/other infos into it.
34- * .manifest
35- * .spec
36-
37- # Installer logs
38- pip-log.txt
39- pip-delete-this-directory.txt
40-
41- # Unit test / coverage reports
42- htmlcov /
43- .tox /
44- .coverage
45- .coverage. *
46- .cache
47- nosetests.xml
48- coverage.xml
49- * .cover
50- .hypothesis /
51- .pytest_cache /
52-
53- # Translations
54- * .mo
55- * .pot
56-
57- # Django stuff:
58- * .log
59- local_settings.py
60- db.sqlite3
61-
62- # Flask stuff:
63- instance /
64- .webassets-cache
65-
66- # Scrapy stuff:
67- .scrapy
7+ * .egg-info
688
69- # Sphinx documentation
70- docs /_build /
71-
72- # PyBuilder
73- target /
74-
75- # Jupyter Notebook
76- .ipynb_checkpoints
77-
78- # pyenv
79- .python-version
80-
81- # celery beat schedule file
82- celerybeat-schedule
83-
84- # SageMath parsed files
85- * .sage.py
86-
87- # Environments
88- .env
9+ # Virtual environments
8910.venv
90- env /
91- venv /
92- ENV /
93- env.bak /
94- venv.bak /
95-
96- # Spyder project settings
97- .spyderproject
98- .spyproject
99-
100- # Rope project settings
101- .ropeproject
10211
103- # mkdocs documentation
104- /site
105-
106- # mypy
107- .mypy_cache /
12+ # Coverage
13+ .coverage
Original file line number Diff line number Diff line change @@ -171,16 +171,16 @@ There is complete test coverage and they pass in all Python versions 3.10 and up
171171
172172### Running Unit Tests
173173
174- First, install ` poetry ` using the instructions located [ here] ( https://python-poetry.org/docs/# installation ) .
174+ First, install ` uv ` using the instructions located [ here] ( https://docs.astral.sh/uv/getting-started/ installation ) .
175175
176176Then, install the requirements using:
177177
178178``` bash
179- poetry install --all-extras
179+ uv sync --all-extras
180180```
181181
182182You can run the tests (with coverage) using:
183183
184184``` bash
185- poetry run pytest
185+ uv run pytest
186186```
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ commands:
44
55# Run unit tests
66test :
7- @ poetry run python -m pytest
7+ @ uv run python -m pytest
88
99# Lint source code
1010[parallel ]
@@ -13,16 +13,16 @@ lint: lint-ruff lint-basedpyright
1313# Lint code using ruff
1414[private ]
1515lint-ruff :
16- @ poetry run python -m ruff check optional tests
16+ @ uv run python -m ruff check src tests
1717
1818# Lint code using basedpyright
1919[private ]
2020lint-basedpyright :
21- @ poetry run python -m basedpyright optional tests
21+ @ uv run python -m basedpyright src tests
2222
2323# Format code using ruff
2424format :
25- @ poetry run python -m ruff format optional tests
25+ @ uv run python -m ruff format src tests
2626
2727# Check for editorconfig violations using editorconfig-checker
2828editorconfig :
You can’t perform that action at this time.
0 commit comments