2017-08-04 00:31:39 +00:00
|
|
|
[tox]
|
2021-03-02 06:24:59 +00:00
|
|
|
envlist = py{27,34,35,36,37,38,39,310}
|
2017-08-04 00:31:39 +00:00
|
|
|
skip_missing_interpreters = True
|
|
|
|
|
|
|
|
[testenv]
|
2021-03-02 06:24:59 +00:00
|
|
|
deps =
|
|
|
|
flake8
|
|
|
|
pytest
|
|
|
|
pywin32; sys_platform == 'win32'
|
2021-04-14 03:36:10 +00:00
|
|
|
pyobjc-framework-Cocoa; sys_platform == 'darwin'
|
2019-04-30 16:22:28 +00:00
|
|
|
commands =
|
2021-03-02 06:24:59 +00:00
|
|
|
flake8
|
|
|
|
pytest
|
2019-04-30 16:22:28 +00:00
|
|
|
|
2017-08-04 00:31:39 +00:00
|
|
|
[testenv:py27]
|
|
|
|
deps =
|
|
|
|
configparser
|
2021-03-02 06:24:59 +00:00
|
|
|
{[testenv]deps}
|
2020-06-12 04:20:16 +00:00
|
|
|
|
|
|
|
[flake8]
|
|
|
|
exclude = .tox,env,build
|
|
|
|
max-line-length = 120
|
2021-08-17 23:54:52 +00:00
|
|
|
select = C,E,F,W,B,B950
|
|
|
|
extend-ignore = E203, E501
|