Skip to content

Commit

Permalink
chore(nox): added example session
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucino772 committed May 4, 2022
1 parent e7664cf commit 5526860
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 20 deletions.
20 changes: 0 additions & 20 deletions examples/microsoft_flask/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,22 +1,2 @@
certifi==2021.5.30
cffi==1.14.6
charset-normalizer==2.0.5
click==8.0.1
colorama==0.4.4
cryptography==3.4.8
decorator==5.1.0
Flask==2.0.1
idna==3.2
itsdangerous==2.0.1
Jinja2==3.0.1
MarkupSafe==2.0.1
msal==1.14.0
pycparser==2.20
PyJWT==2.1.0
pymojang==1.3.0
python-dotenv==0.19.0
requests==2.26.0
six==1.16.0
urllib3==1.26.6
validators==0.18.2
Werkzeug==2.0.1
8 changes: 8 additions & 0 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,11 @@ def docs(session: nox.Session):
def lint(session: nox.Session):
session.install("pre-commit")
session.run("pre-commit", "run", *session.posargs)


@nox.session
def example(session: nox.Session):
session.install(".")
with session.chdir("examples/microsoft_flask"):
session.install("-r", "requirements.txt")
session.run("python", "app.py")

0 comments on commit 5526860

Please sign in to comment.