feat: basefiles

This commit is contained in:
cătălin 2023-10-02 22:46:29 +02:00
commit bdf9e90efa
Signed by: catalin
GPG key ID: 686088EF78EE4083
16 changed files with 1299 additions and 0 deletions

26
noxfile.py Normal file
View file

@ -0,0 +1,26 @@
import nox
VERSIONS = ["3.10", "3.11"]
@nox.session(python=VERSIONS)
def tests(session):
session.run(
"pdm",
"export",
"-G",
"testing",
"-f",
"requirements",
"-o",
"requirements.txt",
external=True,
)
session.install("-r", "requirements.txt")
session.run("make", "tests", external=True)
session.run("rm", "requirements.txt", external=True)
@nox.session(python=VERSIONS)
def linters(session):
session.run("make", "linters", external=True)