mirror of
https://github.com/satwikkansal/wtfpython.git
synced 2025-08-06 05:07:26 +02:00
Configure Nox and basic Poetry support
- Use new structure for code blocks in README
This commit is contained in:
13
noxfile.py
Normal file
13
noxfile.py
Normal file
@@ -0,0 +1,13 @@
|
||||
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")
|
Reference in New Issue
Block a user