pypi-query-mcp/noxfile.py
2025-01-06 01:26:03 +08:00

25 lines
554 B
Python

# Import built-in modules
import os
import sys
# Import third-party modules
import nox
ROOT = os.path.dirname(__file__)
# Ensure maya_umbrella is importable.
if ROOT not in sys.path:
sys.path.append(ROOT)
# Import third-party modules
from nox_actions import codetest # noqa: E402
from nox_actions import lint # noqa: E402
from nox_actions import release # noqa: E402
nox.session(lint.lint, name="lint")
nox.session(lint.lint_fix, name="lint-fix")
nox.session(codetest.pytest, name="pytest")
nox.session(release.build_exe, name="build-exe")