forked from gyuta/bqemulatormanager
-
Notifications
You must be signed in to change notification settings - Fork 3
/
tox.ini
31 lines (25 loc) · 637 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
[tox]
envlist = py{38,39,310,311},black,isort,flake8,mypy
isolated_build = true
[testenv]
allowlist_externals = coverage
skip_install = true
commands = coverage run -m unittest discover -s test
[testenv:black]
allowlist_externals = black
commands = black --check . {posargs}
[testenv:isort]
allowlist_externals = isort
commands = isort -c ./bqemulatormanager ./test {posargs}
[testenv:flake8]
allowlist_externals = pflake8
commands = pflake8 ./bqemulatormanager ./test {posargs}
[testenv:mypy]
allowlist_externals = mypy
commands = mypy . {posargs}
[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311