feat: add -c/--config flag to every command
This commit is contained in:
parent
570c29d9f1
commit
6f45b76579
10 changed files with 163 additions and 51 deletions
16
noxfile.py
16
noxfile.py
|
|
@ -5,10 +5,20 @@ VERSIONS = ["3.10", "3.11"]
|
|||
|
||||
@nox.session(python=VERSIONS)
|
||||
def tests(session):
|
||||
session.run('pdm', 'export', '-G', 'tests', '-f', 'requirements', '-o', 'requirements.txt', external=True)
|
||||
session.install('-r', "requirements.txt")
|
||||
session.run(
|
||||
"pdm",
|
||||
"export",
|
||||
"-G",
|
||||
"tests",
|
||||
"-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)
|
||||
session.run("rm", "requirements.txt", external=True)
|
||||
|
||||
|
||||
@nox.session(python=VERSIONS)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue