jenkins-bot has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/652552 )

Change subject: [tests] set flake8-colors color option to 'always'
......................................................................

[tests] set flake8-colors color option to 'always'

flake8-colors 0.1.7 introduced a new behaviour and disabled colors
except color formatting is invoked interactively. With 0.1.9 a new
parameter 'color' was introduced which can be set

Bug: T270938
Change-Id: If6c420fa3e9c555b3cd6745fb9420bbba0be29c9
---
M setup.py
M tox.ini
2 files changed, 3 insertions(+), 1 deletion(-)

Approvals:
  Xqt: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/setup.py b/setup.py
index 76cd8ba..00ec8d2 100644
--- a/setup.py
+++ b/setup.py
@@ -75,7 +75,7 @@
         'pydocstyle>=4.0.0',
         'hacking',
         'flake8-coding',
-        'flake8-colors',
+        'flake8-colors>=0.1.9',
         'flake8-comprehensions>=3.1.4;python_version>="3.8"',
         'flake8-comprehensions>=2.2.0',
         'flake8-docstrings>=1.3.1',
diff --git a/tox.ini b/tox.ini
index 07db505..908ddb8 100644
--- a/tox.ini
+++ b/tox.ini
@@ -103,7 +103,9 @@
 accept-encodings = utf-8
 require-code = true
 classmethod-decorators = classmethod,classproperty
+
 # flake8-color format string
+color = always
 format = ${blue}%(path)s${reset}: ${bold}line %(row)d:${reset}%(col)d: 
${red_bold}%(code)s${reset} %(text)s

 # The following are to be fixed

--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/652552
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: If6c420fa3e9c555b3cd6745fb9420bbba0be29c9
Gerrit-Change-Number: 652552
Gerrit-PatchSet: 11
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits

Reply via email to