From d4252f61ced345885035608f079dfc3fd2d65109 Mon Sep 17 00:00:00 2001 From: Leonardo Schwarz Date: Wed, 23 Oct 2024 12:26:47 +0200 Subject: [PATCH] delegate licensecheck to noxfile --- noxfile.py | 7 +++++++ pyproject.toml | 1 - 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/noxfile.py b/noxfile.py index 2e5a477..ac4796c 100644 --- a/noxfile.py +++ b/noxfile.py @@ -14,3 +14,10 @@ def tests(session) -> None: """Runs the test suite.""" session.install(".[testing]") session.run("pytest") + + +@nox.session +def licensecheck(session) -> None: + """Runs the license check.""" + session.install("licensecheck") + session.run("licensecheck") diff --git a/pyproject.toml b/pyproject.toml index 99726b4..15ddfce 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -70,7 +70,6 @@ dev = [ "rich>=13.7.0", "ruff>=0.3.5", "xmltodict", - "licensecheck", "hdbscan", "nox[uv]", "spatialdata>=0.2.3",