-
Notifications
You must be signed in to change notification settings - Fork 104
Expand file tree
/
Copy pathtox.ini
More file actions
31 lines (26 loc) · 714 Bytes
/
tox.ini
File metadata and controls
31 lines (26 loc) · 714 Bytes
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
[tox]
envlist=
lint
py{310,311,312,313,314}-marshmallow{lowest,dev}
mypy-marshmallowdev
[testenv]
dependency_groups = tests
deps =
marshmallowlowest: marshmallow==4.0.0
marshmallowdev: https://github.com/marshmallow-code/marshmallow/archive/dev.tar.gz
commands = pytest {posargs}
[testenv:mypy-marshmallowdev]
dependency_groups = django
deps =
mypy
https://github.com/marshmallow-code/marshmallow/archive/dev.tar.gz
commands = mypy --warn-unused-ignores
[testenv:lint]
deps = pre-commit~=4.0.1
skip_install = true
commands = pre-commit run --all-files
; Below tasks are for development only (not run in CI)
[testenv:watch-readme]
deps = grip
skip_install = true
commands = grip -b