mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-11-30 10:54:53 +00:00
5d6a6aaedf
Change-Id: I4645717df655ac570c1fe6e69058082a1fa7ee6b
26 lines
559 B
INI
26 lines
559 B
INI
[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
|
|
ignore = E128,E501,E711,E722,W503
|