Skip to content

Commit

Permalink
ci: Don't fail when checking docs on Python 3.6
Browse files Browse the repository at this point in the history
Co-authored-by: Oleh Prypin <oleh@pryp.in>
PR 248: #248
  • Loading branch information
pawamoy committed Feb 28, 2021
1 parent c29ba6b commit d5a1e39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions duties.py
Expand Up @@ -191,8 +191,8 @@ def check_docs(ctx):
Arguments:
ctx: The context instance (passed automatically).
"""
# pytkdocs fails on Python 3.9 for now
nofail = sys.version.startswith("3.9")
# mkdocs-gen-files works on 3.7+ only
nofail = sys.version_info < (3, 7)
ctx.run("mkdocs build -s", title="Building documentation", pty=PTY, nofail=nofail, quiet=nofail)


Expand Down

0 comments on commit d5a1e39

Please sign in to comment.