Skip to content

Commit 16d0191

Browse files
authored
Merge pull request #43 from RazerM/fix/ci
Fix CI
2 parents 6a3192f + d7b985f commit 16d0191

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

.readthedocs.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,13 @@ formats:
88
build:
99
os: ubuntu-22.04
1010
tools:
11-
python: "3"
11+
python: "3.13"
1212

1313
python:
1414
install:
1515
- requirements: ci/rtd-requirements.txt
1616
- method: pip
1717
path: .
18+
19+
sphinx:
20+
configuration: docs/source/conf.py

ci/rtd-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# RTD is currently installing 1.5.3, which has a bug in :lineno-match:
2-
sphinx >= 4.0, < 6.2
2+
sphinx >= 6.0
33
sphinx_rtd_theme
44
sphinxcontrib-trio

tests/type_tests.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ def sync_capture_test() -> None:
117117
assert_type(capture(sync_one, 3.14), Union[Value[int], Error])
118118
assert_type(capture(sync_one, param=3.14), Union[Value[int], Error])
119119
assert_type(capture(sync_raises), Error)
120-
capture(sync_one) # type: ignore[arg-type, call-arg]
121-
capture(sync_none, 1, 2) # type: ignore[arg-type, call-arg]
120+
capture(sync_one) # type: ignore[call-overload]
121+
capture(sync_none, 1, 2) # type: ignore[call-overload]
122122

123123

124124
async def sync_gen_test() -> None:
@@ -172,8 +172,8 @@ async def async_capture_test() -> None:
172172
await acapture(async_one, param=3.14), Union[Value[int], Error]
173173
)
174174
assert_type(await acapture(async_raises), Error)
175-
capture(async_one) # type: ignore[arg-type, call-arg]
176-
capture(async_none, 1, 2) # type: ignore[arg-type, call-arg]
175+
capture(async_one) # type: ignore[call-overload]
176+
capture(async_none, 1, 2) # type: ignore[call-overload]
177177

178178

179179
async def async_gen_test() -> None:

0 commit comments

Comments
 (0)