-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
37 lines (32 loc) · 681 Bytes
/
Copy pathtox.ini
File metadata and controls
37 lines (32 loc) · 681 Bytes
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
[tox]
envlist = py311, py312, lint, type
skipsdist = false
[testenv]
deps =
pytest>=7.0,<8.0
pytest-cov>=4.0,<5.0
pytest-mock>=3.0,<4.0
commands =
pytest tests/unit/ -v --cov=liveexploit --cov-report=term-missing
[testenv:lint]
deps =
flake8>=6.0,<7.0
bandit>=1.7,<2.0
commands =
flake8 liveexploit tests
bandit -r liveexploit -f json -o bandit.json
[testenv:type]
deps =
mypy>=1.0,<2.0
commands =
mypy liveexploit
[testenv:integration]
deps =
{[testenv]deps}
commands =
pytest tests/integration/ -v -m integration
[testenv:security]
deps =
safety>=2.0,<3.0
commands =
safety check --json --output safety.json