pyo3/examples/sequential/noxfile.py

12 lines
255 B
Python
Raw Normal View History

2023-10-12 14:44:05 +00:00
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")