| 1 | [tox] |
| 2 | |
| 3 | # Ensure 1.6+ is used to support 'skipsdist' |
| 4 | minversion = 1.6 |
| 5 | |
| 6 | # Do not run install command |
| 7 | skipsdist = True |
| 8 | |
| 9 | # Environements to execute when invoking 'tox' |
| 10 | envlist = flake8 |
| 11 | |
| 12 | [testenv:flake8] |
| 13 | commands = flake8 |
| 14 | deps = flake8 |
| 15 | basepython = python3 |
| 16 | |
| 17 | [flake8] |
| 18 | exclude = .tox |
| 19 | max_line_length = 80 |
| 20 | ; E501 line too long (X > 80 characters) |
| 21 | ; Deprecated best practice - https://www.flake8rules.com/rules/W503.html |
| 22 | ; W503 line break before binary operator |
| 23 | ignore = E501,W503 |