File: tox.ini

package info (click to toggle)
mailmanclient 3.3.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,132 kB
  • sloc: python: 2,468; makefile: 89
file content (36 lines) | stat: -rw-r--r-- 610 bytes parent folder | download
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
[tox]
envlist = py{37,38,39,310,3.11},lint

[testenv]
usedevelop = True
commands = pytest {posargs}
extras = testing
deps =
    pytest-asyncio
    httpx
    git+https://gitlab.com/mailman/mailman@master

[testenv:dependency]
userdevelop = True
extras = testing
deps = git+https://gitlab.com/mailman/mailman@{env:CORE_COMMIT_SHA}

[testenv:lint]
extras = lint
commands =
    python -m flake8 {posargs}

[testenv:docs]
extras = docs
commands =
    sphinx-build -t html . build/

[testenv:mypy]
deps =
    mypy
commands =
    mypy

[flake8]
show-source = true
exclude = .git,.tox,dist,*egg,src/mailmanclient/docs