File: tox.ini

package info (click to toggle)
python-canonicaljson 1.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 124 kB
  • sloc: python: 174; sh: 15; makefile: 3
file content (28 lines) | stat: -rw-r--r-- 454 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
[tox]
envlist = packaging, pep8, py35, py36, py37, py38, pypy3

[testenv]
deps =
    coverage
    nose

commands =
    coverage run --source canonicaljson -m nose
    coverage report -m --fail-under 100

[testenv:packaging]
deps =
    check-manifest
commands = check-manifest

[testenv:pep8]
basepython = python3.6
deps =
    flake8
commands = flake8 .

[testenv:black]
basepython = python3.6
deps =
    black
commands = python -m black --check --diff .