noxfile added
This commit is contained in:
parent
37d33a3bd1
commit
dd923fbaa7
1 changed files with 11 additions and 0 deletions
11
noxfile.py
Normal file
11
noxfile.py
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
import nox
|
||||||
|
|
||||||
|
@nox.session
|
||||||
|
def tests(session):
|
||||||
|
session.install('pytest')
|
||||||
|
session.run('pytest')
|
||||||
|
|
||||||
|
def lint(session):
|
||||||
|
session.install('flake8')
|
||||||
|
session.run('flake8', '--import-order-style', 'google')
|
||||||
|
|
Loading…
Reference in a new issue