feat: basefiles
This commit is contained in:
commit
bdf9e90efa
16 changed files with 1299 additions and 0 deletions
26
noxfile.py
Normal file
26
noxfile.py
Normal 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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue