Xqt created this task.
Xqt added projects: Pywikibot, Pywikibot-tests.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
flake8 hacking does not report unittest.TestCase issues like H214
atagar reports following warning whenever he run tox...
./tests/category_tests.py: line 163:9: H214: Use assertIn/NotIn(A, B)
rather than assertTrue/False(A in/not in B)
when checking collection contents.
**Version:**
% flake8 --version 3.7.9 (flake8_isort: 4.0.0, mccabe: 0.6.1, pycodestyle:
2.6.0, pyflakes: 2.2.0) CPython 3.8.10 on Linux
TASK DETAIL
https://phabricator.wikimedia.org/T287434
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt
Cc: Aklapper, pywikibot-bugs-list, atagar, Xqt, Jyoo1011, JohnsonLee01, SHEKH,
Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89,
Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]