Skip to content

Commit 3c2c884

Browse files
authored
ci: accept 429 as valid response for external url (PyO3#5106)
* ci: accept 429 as valid response for external url * fixup syntax
1 parent ddd6aa0 commit 3c2c884

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

noxfile.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,7 @@ def check_guide(session: nox.Session):
493493
"--include-fragments",
494494
str(PYO3_GUIDE_SRC),
495495
*remap_args,
496+
"--accept=200,429",
496497
*session.posargs,
497498
)
498499
# check external links in the docs
@@ -504,6 +505,7 @@ def check_guide(session: nox.Session):
504505
*remap_args,
505506
f"--exclude=file://{PYO3_DOCS_TARGET}",
506507
"--exclude=http://www.adobe.com/",
508+
"--accept=200,429",
507509
*session.posargs,
508510
)
509511

0 commit comments

Comments
 (0)