File: noxfile_script_mode.py

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

import cowsay

import nox


@nox.session
def example(session: nox.Session) -> None:
    print(cowsay.cow("hello_world"))