ddt does not expect the flake8-bugbear plugin. --- ddt-1.7.2/tox.ini.orig +++ ddt-1.7.2/tox.ini @@ -11,7 +11,7 @@ PyYAML commands = pytest --cov=ddt --cov-report html - flake8 ddt.py test + flake8 --extend-ignore=B ddt.py test [flake8] max-line-length = 127