Skip to content

Commit

Permalink
refactor: Allow check-docs failure on Python 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
pawamoy committed Dec 6, 2020
1 parent a22266c commit 33bebf9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion project/duties.py
Expand Up @@ -2,6 +2,7 @@

import os
import re
import sys
from itertools import chain
from pathlib import Path
from shutil import which
Expand Down Expand Up @@ -200,7 +201,9 @@ def check_docs(ctx):
Arguments:
ctx: The context instance (passed automatically).
"""
ctx.run("mkdocs build -s", title="Building documentation", pty=PTY)
# pytkdocs fails on Python 3.9 for now
nofail = sys.version.startswith("3.9")
ctx.run("mkdocs build -s", title="Building documentation", pty=PTY, nofail=nofail, quiet=nofail)


@duty
Expand Down

0 comments on commit 33bebf9

Please sign in to comment.