Xqt submitted this change.

View Change


Approvals: Xqt: Verified; Looks good to me, approved
move flake8 color option from config file to command line

Bug: T117570
Change-Id: Ie0a6dfff82ad99cb05db0c4dab40500d81a2405b
---
M tox.ini
1 file changed, 13 insertions(+), 5 deletions(-)

diff --git a/tox.ini b/tox.ini
index 9648282..c846fb4 100644
--- a/tox.ini
+++ b/tox.ini
@@ -30,9 +30,9 @@
commands =
python --version
flake8: flake8 --version
- flake8-py36: flake8 --doctests {posargs} {[params]exclude}
- flake8-py38: flake8 --doctests {posargs}
- flake8-py39: flake8 --doctests {posargs}
+ flake8-py36: flake8 --color always --doctests {posargs} {[params]exclude}
+ flake8-py38: flake8 --color always --doctests {posargs}
+ flake8-py39: flake8 --color always --doctests {posargs}

hacking: flake8 --version
hacking: flake8 --format=default {posargs}
@@ -134,10 +134,8 @@
ignore = B007,D105,D211,D401,D413,D412,DAR003,DAR101,DAR102,DAR201,DAR202,DAR301,DAR401,DAR402,DAR501,H101,H238,H301,H306,H404,H405,H903,P101,P102,P103,P205,W503
enable-extensions = H203,H204,H205,N818

-color = always
count = True
exclude = .tox,.git,./*.egg,build,./scripts/i18n/*
-# format = %(blue)s%(path)s%(reset)s: %(bold)sline %(row)d:%(reset)s%(col)d: %(bold)s%(red)s%(code)s%(reset)s %(text)s
max-complexity = 50

# The following are to be fixed

To view, visit change 904584. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Ie0a6dfff82ad99cb05db0c4dab40500d81a2405b
Gerrit-Change-Number: 904584
Gerrit-PatchSet: 2
Gerrit-Owner: JJMC89 <JJMC89.Wikimedia@gmail.com>
Gerrit-Reviewer: Xqt <info@gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged