File: noxfile.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 (17 lines) | stat: -rw-r--r-- 393 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
from pathlib import Path

import nox

FILE = Path(__file__).resolve()


@nox.session(venv_backend="none", default=False)
def orig(session: nox.Session) -> None:
    assert Path("orig_file.txt").exists()


@nox.session(venv_backend="none", default=False)
def sym(session: nox.Session) -> None:
    assert Path("sym_file.txt").exists()

    assert FILE.parent.joinpath("orig_file.txt").exists()