XZise added a subscriber: XZise.
XZise added a comment.

The duplicates are because we have flake8 for Python 2 (`flake8`) and Python 3 
(`flake8-py3`) and a set of more strict rules (`flake8-docstrings-mandatory`). 
And for example `pywikibot/__init__` is tested by all while 
`tests/wikibase_tests` is not tested by `flake8-docstrings-mandatory` (which is 
only working on specific files and tus the different output in line 5).

And with regarding having the results hidden in the output, this is due to 
https://phabricator.wikimedia.org/rPWBC7a35ea98c1d19ff78f6f4ca9edc9e885c65af904 
(https://phabricator.wikimedia.org/T87169) as that runs multiple tests in one 
suite. So without that patch you would still have the duplicates but separated 
over multiple runs.

So I'm not sure what can be done here. Integration could actually fix the issue 
that it does not run tests for non-whitelisted users, althoug just running the 
“jenkins” environment seems sensible to me. Then pywikibot changes how it runs 
the tests (but that could only apply to duplicates). And maybe the 
implementation for tox should have some way to show the results at the end 
instead with the other output.


TASK DETAIL
  https://phabricator.wikimedia.org/T117570

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: XZise
Cc: XZise, Aklapper, StudiesWorld, valhallasw, pywikibot-bugs-list, hashar, greg



_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to