mirror of
https://github.com/jazzband/django-admin2.git
synced 2026-03-16 22:20:24 +00:00
28 lines
591 B
INI
28 lines
591 B
INI
[flake8]
|
|
ignore = E265,E501
|
|
max-line-length = 100
|
|
max-complexity = 10
|
|
exclude = migrations/*,docs/*
|
|
|
|
[tox]
|
|
envlist =
|
|
py35-{2.2,3.0},
|
|
py36-{2.2,3.0,3.1},
|
|
py37-{2.2,3.0,3.1,master},
|
|
py38-{2.2,3.0,3.1,master},
|
|
|
|
|
|
[testenv]
|
|
commands =
|
|
py.test []
|
|
deps =
|
|
-rrequirements_test.txt
|
|
3.1: Django>=3.1,<3.2
|
|
3.0: Django>=3.0,<3.1
|
|
2.2: Django>=2.2,<2.3
|
|
master: https://github.com/django/django/tarball/master
|
|
setenv=
|
|
DJANGO_SETTINGS_MODULE = example.settings
|
|
PYTHONPATH = {toxinidir}/example:{toxinidir}
|
|
PYTHONDONTWRITEBYTECODE=1
|
|
PYTHONWARNINGS=once
|