From 0f777d87396943714376c03cdda4b297ce97de14 Mon Sep 17 00:00:00 2001 From: Leonardo Schwarz Date: Fri, 28 Jun 2024 16:18:33 +0200 Subject: [PATCH] add noxfile --- noxfile.py | 10 ++++++++++ pyproject.toml | 2 ++ 2 files changed, 12 insertions(+) create mode 100644 noxfile.py diff --git a/noxfile.py b/noxfile.py new file mode 100644 index 00000000..51f7296b --- /dev/null +++ b/noxfile.py @@ -0,0 +1,10 @@ +import nox + +nox.options.default_venv_backend = "uv" + + +@nox.session +def tests(session): + session.install(".[dev]") + session.run("pytest") + diff --git a/pyproject.toml b/pyproject.toml index dbd8cbac..543df6f2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,6 +38,8 @@ dev = [ "licensecheck", "pytest", "pytest-mock", + "nox", + "uv" ] [project.urls]