Skip to content

Commit

Permalink
use python 3.10 for docs build
Browse files Browse the repository at this point in the history
  • Loading branch information
parthea authored Jul 9, 2024
1 parent f376295 commit 53df226
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@

CURRENT_DIRECTORY = pathlib.Path(__file__).parent.absolute()

# Error if a python version is missing
nox.options.error_on_missing_interpreters = True


def _calculate_duration(func):
"""This decorator prints the execution time for the decorated function."""
Expand Down Expand Up @@ -420,7 +423,7 @@ def cover(session):
session.run("coverage", "erase")


@nox.session(python="3.9")
@nox.session(python="3.10")
@_calculate_duration
def docs(session):
"""Build the docs for this library."""
Expand Down

0 comments on commit 53df226

Please sign in to comment.