mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-11-30 10:54:53 +00:00
602906527e
Change-Id: Ic0ba59dc1af1bdefab606a939887752b3b3b3c80
24 lines
472 B
INI
24 lines
472 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
|
|
; E501 line too long (X > 80 characters)
|
|
; Deprecated best practice - https://www.flake8rules.com/rules/W503.html
|
|
; W503 line break before binary operator
|
|
ignore = E501,W503
|