-
Notifications
You must be signed in to change notification settings - Fork 25
/
tox.ini
53 lines (48 loc) · 940 Bytes
/
tox.ini
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
43
44
45
46
47
48
49
50
51
52
53
[tox]
envlist =
lint
packaging
py{37,38,39}-django22
py{37,38,39,310}-django32
py{38,39,310}-django40
py{38,39,310}-djangomain
[gh-actions]
python =
3.7: py37, lint
3.8: py38
3.9: py39
3.10: py310, packaging
[testenv]
deps =
django22: Django>=2.2,<2.3
django32: Django>=3.2,<4.0
django40: Django>=4.0,<4.1
djangomain: https://github.com/django/django/archive/main.tar.gz
moto>=1.0.0
pytest-cov
pytest
commands =
pytest --cov-report=xml --cov=django_amazon_ses
[testenv:lint]
deps =
black
check-manifest
flake8
readme_renderer
commands =
check-manifest --ignore tox.ini
flake8 .
black --check --diff .
skip_install = true
[testenv:packaging]
deps =
setuptools
twine
wheel
skip_install = true
commands =
python setup.py sdist bdist_wheel
twine check --strict dist/*
[flake8]
max-line-length = 88
extend-ignore = E203