-
Notifications
You must be signed in to change notification settings - Fork 3
/
tox.ini
45 lines (40 loc) · 892 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
[tox]
envlist =
py{37,39}-django22-dalec02,
py{37,39}-django32-dalec02,
py{39,311}-django42-dalec{02,main},
py311-djangomain-dalecmain,
qa
[testenv]
commands =
coverage run -a ./runtests.py
basepython =
py37: python3.7
py39: python3.9
py311: python3.11
qa: python3.9
deps =
django22: Django>=2.2,<2.3
django22: django-jsonfield-backport
django32: Django>=3.2,<3.3
django42: Django>=4.2,<4.3
djangomain: https://github.com/django/django/archive/main.tar.gz
qa: black
qa: flake8
qa: mypy
qa: types-requests
requests
beautifulsoup4
coverage
radicale
dalec02: dalec>=0.2,<=0.3
dalecmain: https://github.com/webu/dalec/archive/main.tar.gz
[testenv:qa]
commands =
black --check ./
flake8
mypy -p dalec_caldav
coverage report -m
coverage erase
[flake8]
extend-ignore = E501