File: tox.ini

package info (click to toggle)
django-taggit 0.24.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 476 kB
  • sloc: python: 3,147; makefile: 77
file content (42 lines) | stat: -rw-r--r-- 859 bytes parent folder | download | duplicates (2)
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]
minversion = 1.9
envlist =
    black
    flake8
    isort
    py{27,34,35,36}-django111
    py{34,35,36,37}-django20
    py{35,36,37}-django21
    py{35,36,37}-django22
    py{36,37}-djangomaster

[testenv]
deps =
    django111: Django~=1.11.0
    django20: Django~=2.0.0
    django21: Django~=2.1.0
    django22: Django>=2.2a1<3.0
    djangomaster: https://github.com/django/django/archive/master.tar.gz#egg=django
    coverage
    mock
commands =
    coverage run -m django test --settings=tests.settings {posargs}
    coverage report

[testenv:black]
basepython = python3
skip_install = true
deps = black
commands = black --check --diff .

[testenv:flake8]
basepython = python3
skip_install = true
deps = flake8
commands = flake8

[testenv:isort]
basepython = python3
skip_install = true
deps = isort
commands = isort --recursive --check-only --diff