From eccfca46078b05e6c55c03d89b4718ad6fd37eea Mon Sep 17 00:00:00 2001 From: Milo Banks Date: Thu, 23 Jan 2025 10:51:26 -0700 Subject: [PATCH] Remove Nox (#92) * [pypa] * Revert "[pypa]" This reverts commit 3ec18411ce33f680173e110d2baa13a9cfb1aae2. * [nox] remove --- noxfile.py | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 noxfile.py diff --git a/noxfile.py b/noxfile.py deleted file mode 100644 index 050d60a..0000000 --- a/noxfile.py +++ /dev/null @@ -1,23 +0,0 @@ -from __future__ import annotations - -import nox - -nox.options.sessions = ["lint", "tests"] - - -@nox.session -def lint(session: nox.Session) -> None: - """ - Run the linter. - """ - session.install("pre-commit") - session.run("pre-commit", "run", "--all-files", *session.posargs) - - -@nox.session -def tests(session: nox.Session) -> None: - """ - Run the unit and regular tests. - """ - session.install(".[test]") - session.run("pytest", *session.posargs)