-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtox.ini
46 lines (40 loc) · 766 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
43
44
45
46
[tox]
envlist = py{37,38,39,310,311},linters
isolated_build = true
parallel = auto
skipsdist = true
[testenv]
deps =
-rrequirements.txt
mypy
commands = mypy flpinfo
[testenv:bandit]
deps = bandit
commands = bandit -r flpinfo
[testenv:flake8]
deps =
flake8
flake8-docstrings
flake8-typing-imports
commands = flake8 flpinfo
[testenv:linters]
envdir = {toxworkdir}/py37
skip_install = true
deps =
{[testenv:flake8]deps}
{[testenv:bandit]deps}
commands =
{[testenv:flake8]commands}
{[testenv:bandit]commands}
[flake8]
exclude = .tox,*.egg,.venv
max-line-length = 88
docstring-convention = google
extend_ignore = D101, D103
[gh-actions]
python =
3.7: py37, linters
3.8: py38
3.9: py39
3.10: py310
3.11: py311