Skip to content

Instantly share code, notes, and snippets.

@joaquinacuna
Created December 30, 2019 15:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joaquinacuna/8baf1a39ccf76fc6ad8dd55951f4a486 to your computer and use it in GitHub Desktop.
Save joaquinacuna/8baf1a39ccf76fc6ad8dd55951f4a486 to your computer and use it in GitHub Desktop.
import nox
@nox.session
@nox.parametrize("flask", ["0.12.4", "1.0.2"])
@nox.session(python=["2.7", "3.6"])
def lint(session):
session.install(f"flask=={flask}")
session.install("-r", "requirements.txt")
session.run('pytest')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment