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
pywikibot-core-tox-docker
The reason of this missing test is that our tox docker uses hacking==3.0.0 instead of the newest 4.1