File size: 426 Bytes
2fea5d7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
[tox]
envlist = py310, lint

[gh-actions]
python =
    3.10: py310, lint

[testenv]
allowlist_externals =
    pytest
skip_install = true
commands =
    pytest tests/

[testenv:lint]
allowlist_externals =
    pflake8
    mypy
    black
    isort
skip_install = true
commands =
    # pflake8 --show-source --statistics src/ tests {posargs}
    # mypy . {posargs}
    black --check . {posargs}
    isort --check-only . {posargs}