forked from errbotio/errbot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
37 lines (30 loc) · 627 Bytes
/
tox.ini
File metadata and controls
37 lines (30 loc) · 627 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 = py39,py310,py311,py312,py312,codestyle,dist-check,security,docs
skip_missing_interpreters = True
[testenv]
deps =
pytest
slackclient>=1.0.5,<2.0
commands = pytest -v tests/
recreate = true
[testenv:codestyle]
deps = ruff
commands =
ruff check errbot/ tests/ tools/
[testenv:dist-check]
deps =
twine
commands =
python setup.py sdist
twine check {toxinidir}/dist/*
[testenv:security]
deps =
bandit
; ignoring errors
commands =
- bandit -r errbot/
[testenv:docs]
changedir = docs
deps = -r docs/requirements.txt
commands =
sphinx-build -b html -d _build/doctrees . _build/html