File: tox.ini

package info (click to toggle)
errbot 6.1.7+ds-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 3,712 kB
  • sloc: python: 13,831; makefile: 164; sh: 97
file content (36 lines) | stat: -rw-r--r-- 561 bytes parent folder | download
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
[tox]
envlist = py36,py37,py38,py39,codestyle,dist-check,sort,security
skip_missing_interpreters = True

[testenv]
deps =
    mock
    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 =
  twine check {toxworkdir}/dist/*

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

[testenv:security]
deps =
    bandit

; ignoring errors
commands =
    - bandit -r errbot/