1
0
mirror of https://github.com/satwikkansal/wtfpython synced 2024-11-27 05:24:34 +01:00
wtfpython/noxfile.py
Vadim Nifadev f25156107b Configure Nox and basic Poetry support
- Use new structure for code blocks in README
2024-10-24 07:53:10 +03:00

14 lines
317 B
Python

from typing import TYPE_CHECKING
import nox
if TYPE_CHECKING:
from nox.sessions import Session
python_versions = ["3.9", "3.10", "3.11", "3.12", "3.13"]
@nox.session(python=python_versions, reuse_venv=True)
def tests(session: "Session") -> None:
_ = session.run("python", "snippets/2_tricky_strings.py")