File: tox.ini

package info (click to toggle)
errbot 6.2.0%2Bds-7
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,856 kB
  • sloc: python: 11,572; makefile: 163; sh: 97
file content (42 lines) | stat: -rw-r--r-- 694 bytes parent folder | download | duplicates (3)
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
[tox]
envlist = py38,py39,py310,codestyle,dist-check,sort,security,docs
skip_missing_interpreters = True

[testenv]
deps =
    pytest
    slackclient>=1.0.5,<2.0

commands = pytest -v tests/
recreate = true

[testenv:codestyle]
deps = black
commands =
    black --check errbot/ tests/ tools/

[testenv:dist-check]
deps =
  twine
commands =
  python setup.py sdist
  twine check {toxinidir}/dist/*

[testenv:sort]
deps =
    isort
commands = isort --check-only errbot/

[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