feat: move project from poetry to pdm, rewrite from scratch and add

basic `notebooks`, `edit` and `show` commands
This commit is contained in:
cătălin 2023-04-01 12:37:10 +02:00
commit d3ad87211e
Signed by: catalin
GPG key ID: 686088EF78EE4083
35 changed files with 1309 additions and 1434 deletions

16
noxfile.py Normal file
View file

@ -0,0 +1,16 @@
import nox
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("make", "tests", external=True)
session.run('rm', "requirements.txt", external=True)
@nox.session(python=VERSIONS)
def linters(session):
session.run("make", "linters", external=True)