mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-12-18 02:41:01 +00:00
35d0b2f39e
Change-Id: Iebcdc092747b5e4f604948d97f5c8ac1a3b307f9
24 lines
471 B
INI
24 lines
471 B
INI
[tox]
|
|
|
|
# Ensure 1.6+ is used to support 'skipsdist'
|
|
minversion = 1.6
|
|
|
|
# Do not run install command
|
|
skipsdist = True
|
|
|
|
# Environments 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
|