File: noxfile_script_mode_url_req.py

package info (click to toggle)
python-nox 2025.11.12-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,880 kB
  • sloc: python: 10,199; makefile: 204; sh: 6
file content (14 lines) | stat: -rw-r--r-- 335 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# /// script
# dependencies = ["nox @ git+https://github.com/wntrblm/nox.git@2024.10.09"]
# ///

# The Nox version pinned above should be the second-most-recent version or older.

import importlib.metadata

import nox


@nox.session(python=False)
def example(session: nox.Session) -> None:
    print(importlib.metadata.version("nox"))