-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtox.ini
More file actions
39 lines (33 loc) · 712 Bytes
/
tox.ini
File metadata and controls
39 lines (33 loc) · 712 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
32
33
34
35
36
37
38
39
[tox]
package_name = "pyflowlauncher"
envlist = lint, type, py{38,39,310,311,312}
[testenv]
deps =
pytest
pytest-asyncio
commands =
pytest {posargs:tests}
[testenv:bump]
deps = bump-my-version
commands = bump-my-version bump {posargs}
[testenv:lint]
description = Run all linting checks
skip_install = false
deps = flake8
commands = flake8 {[tox]package_name}
[testenv:type]
description = Run all type checks
skip_install = false
deps = mypy
commands = mypy {[tox]package_name}
[testenv:docs]
description = Lint documentation
skip_install = true
deps = flake8
commands = flake8 docs/examples
[gh-actions]
python =
3.8: py38, type
3.9: py39
3.10: py310
3.11: py311, lint, type