File: tox.ini

package info (click to toggle)
python-django-dbconn-retry 0.1.9-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 148 kB
  • sloc: python: 209; sh: 7; sql: 4; makefile: 4
file content (23 lines) | stat: -rw-r--r-- 567 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
[tox]
envlist =
	flake8,
	doc8,
	mypy,
	django,

[testenv]
envdir = {toxinidir}/.toxenv
usedevelop = true
deps =
	-rrequirements-test.txt
	django: Django
setenv =
    MYPYPATH=.
passenv = COVERALLS_REPO_TOKEN
commands =
	django: coverage run --source=django_dbconn_retry test_project/manage.py test
	django: coverage report -m
	django: coveralls
	flake8: flake8 --max-line-length=120 django_dbconn_retry setup.py
	doc8: doc8 README.rst
	mypy: mypy --ignore-missing-imports --follow-imports=skip --disallow-untyped-calls --disallow-untyped-defs -p django_dbconn_retry