-
Notifications
You must be signed in to change notification settings - Fork 0
/
noxfile.py
29 lines (24 loc) · 1.1 KB
/
noxfile.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import os
import tempfile
import nox
nox.options.envdir = os.path.join(tempfile.gettempdir(), 'nox_venvs')
@nox.session()
def python3_django111(session):
session.install('django-crispy-forms==1.9.2', 'docutils==0.16', 'django-admin-honeypot==1.1.0')
session.install('-e', '.')
session.run('python', '-B', '-R', '-tt', '-W', 'ignore', '-m', 'shouty')
@nox.session()
def python3_django19(session):
session.install('django-crispy-forms==1.8.1', 'docutils==0.16', 'django-admin-honeypot==1.1.0')
session.install('-e', '.')
session.run('python', '-B', '-R', '-tt', '-W', 'ignore', '-m', 'shouty')
@nox.session()
def python3_django22(session):
session.install('django-crispy-forms==1.9.2', 'docutils==0.16', 'django-admin-honeypot==1.1.0')
session.install('-e', '.')
session.run('python', '-B', '-R', '-tt', '-W', 'ignore', '-m', 'shouty')
@nox.session()
def python3_django31(session):
session.install('django-crispy-forms==1.9.2', 'docutils==0.16', 'django-admin-honeypot==1.1.0')
session.install('-e', '.')
session.run('python', '-B', '-R', '-tt', '-W', 'ignore', '-m', 'shouty')