2024-01-16 14:48:04 +00:00
|
|
|
[tox]
|
|
|
|
|
|
|
|
# Ensure 1.6+ is used to support 'skipsdist'
|
|
|
|
minversion = 1.6
|
|
|
|
|
|
|
|
# Do not run install command
|
|
|
|
skipsdist = True
|
|
|
|
|
|
|
|
# Environements to execute when invoking 'tox'
|
|
|
|
envlist = flake8
|
|
|
|
|
|
|
|
[testenv:flake8]
|
|
|
|
commands = flake8
|
|
|
|
deps = flake8
|
|
|
|
basepython = python3
|
|
|
|
|
|
|
|
[flake8]
|
|
|
|
exclude = .tox
|
|
|
|
max_line_length = 80
|
|
|
|
; E128 continuation line under-indented for visual indent
|
|
|
|
; E501 line too long (X > 80 characters)
|
|
|
|
; E711 comparison to None should be 'if cond is None:'
|
|
|
|
; E722 do not use bare 'except'
|
|
|
|
; W503 line break before binary operator
|
2024-01-16 17:26:02 +00:00
|
|
|
ignore = E128,E501,E711,E722,W503
|