-
Notifications
You must be signed in to change notification settings - Fork 59
/
tox.ini
42 lines (36 loc) · 996 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
[tox]
envlist=
lint
py{38,39,310,311,312}
py312-marshmallowdev
py38-lowest
docs
[testenv]
extras = tests
deps =
marshmallowdev: https://github.com/marshmallow-code/marshmallow/archive/dev.tar.gz
lowest: marshmallow==3.0.0
lowest: marshmallow-sqlalchemy==0.29.0
lowest: flask-sqlalchemy==3.0.0
lowest: flask==2.2
lowest: werkzeug==2.2.2
; lowest version supported by marshmallow-sqlalchemy
lowest: sqlalchemy==1.4.40
commands = pytest {posargs}
[testenv:lint]
deps = pre-commit~=3.5
skip_install = true
commands = pre-commit run --all-files
[testenv:docs]
extras = docs
commands = sphinx-build docs/ docs/_build {posargs}
; Below tasks are for development only (not run in CI)
[testenv:watch-docs]
deps =
sphinx-autobuild
extras = docs
commands = sphinx-autobuild --open-browser docs/ docs/_build {posargs} --watch src/flask_marshmallow --delay 2
[testenv:watch-readme]
deps = restview
skip_install = true
commands = restview README.rst