pyo3/examples/sequential/noxfile.py
2023-11-26 09:49:56 +00:00

12 lines
255 B
Python

import sys
import nox
@nox.session
def python(session):
if sys.version_info < (3, 12):
session.skip("Python 3.12+ is required")
session.env["MATURIN_PEP517_ARGS"] = "--profile=dev"
session.install(".[dev]")
session.run("pytest")