Skip to content

Commit ad9cd6d

Browse files
Update typings
1 parent 05e903a commit ad9cd6d

File tree

9 files changed

+80
-95
lines changed

9 files changed

+80
-95
lines changed

.github/workflows/testing.yaml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,16 @@ jobs:
3333
- windows-latest
3434
runs-on: ${{ matrix.os }}
3535
steps:
36-
- name: Checkout repository
37-
uses: actions/checkout@v4
38-
- name: Setup python
39-
uses: actions/setup-python@v5
40-
with:
41-
python-version: ${{ matrix.python-version }}
36+
- uses: actions/checkout@v4
37+
- uses: astral-sh/setup-uv@v3
38+
- name: Setup Python
39+
run: uv python install ${{ matrix.python-version }}
4240
- name: Install project
43-
run: pip install .[test]
44-
- name: Test with pytest
41+
run: uv sync --dev
42+
- name: Run tests
4543
env:
4644
COMICVINE__API_KEY: IGNORED
47-
run: pytest
45+
run: uv run pytest
4846
collector:
4947
needs: [pytest]
5048
if: always()

pyproject.toml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ dependencies = [
2828
"eval-type-backport >= 0.2.0; python_version < \"3.10\"",
2929
"pydantic >= 2.9.2",
3030
"ratelimit >= 2.2.1",
31-
"requests >= 2.32.3",
31+
"requests >= 2.32.3"
3232
]
3333
description = "A Python wrapper for the Comicvine API."
3434
dynamic = ["version"]
@@ -48,12 +48,6 @@ docs = [
4848
"mkdocs-material >= 9.5.39",
4949
"mkdocstrings[python] >= 0.26.1"
5050
]
51-
test = [
52-
"pytest >= 8.3.3",
53-
"pytest-cov >= 5.0.0",
54-
"tox >= 4.21.1",
55-
"tox-uv >= 1.13.0",
56-
]
5751

5852
[project.urls]
5953
Documentation = "https://simyan.readthedocs.io/en/latest/"
@@ -124,5 +118,9 @@ keep-runtime-typing = true
124118

125119
[tool.uv]
126120
dev-dependencies = [
127-
"pre-commit >= 3.8.0",
121+
"pre-commit >= 3.8.0",
122+
"pytest >= 8.3.3",
123+
"pytest-cov >= 5.0.0",
124+
"tox >= 4.21.1",
125+
"tox-uv >= 1.13.0"
128126
]

0 commit comments

Comments
 (0)