| 1 | [tox] |
| 2 | envlist = py{27,34,35,36,37,38,39,310} |
| 3 | skip_missing_interpreters = True |
| 4 | isolated_build = True |
| 5 | |
| 6 | [testenv] |
| 7 | deps = |
| 8 | flake8 |
| 9 | pytest |
| 10 | pywin32; sys_platform == 'win32' |
| 11 | pyobjc-framework-Cocoa; sys_platform == 'darwin' |
| 12 | commands = |
| 13 | flake8 |
| 14 | pytest |
| 15 | |
| 16 | [testenv:py27] |
| 17 | deps = |
| 18 | configparser |
| 19 | {[testenv]deps} |
| 20 | |
| 21 | [flake8] |
| 22 | exclude = .tox,env,build |
| 23 | max-line-length = 120 |
| 24 | select = C,E,F,W,B,B950 |
| 25 | extend-ignore = E203, E501 |