forked from christopherpickering/flask-session2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
45 lines (41 loc) · 846 Bytes
/
tox.ini
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[tox]
envlist = py3{7,8,9,10}-test
skip_missing_interpreters = True
isolated_build = True
setenv =
PYTHONDONTWRITEBYTECODE=1
[testenv:isort]
commands =
isort flask_session
isort test_session.py
skip_install = True
allowlist_externals = isort
[testenv:black]
commands =
black flask_session
black test_session.py
skip_install = True
allowlist_externals = black
[testenv:lint]
commands =
bandit flask_session
black --fast --check flask_session
pylint flask_session
mypy flask_session
black --fast --check test_session.py
pylint test_session.py
mypy test_session.py
allowlist_externals =
bandit
black
isort
pylint
mypy
skip_install = true
[testenv]
commands =
coverage run -m unittest
coverage report
coverage xml
allowlist_externals = coverage
skip_install = false