From 75c2ae52a2b3b1bf8c47c64da991772b993a43cd Mon Sep 17 00:00:00 2001 From: Ilya Shakhat Date: Thu, 22 Apr 2021 15:57:22 +0400 Subject: [PATCH] Pin hacking and disable the check of mock package usage Change-Id: Ia89b3803ffab1a36bc387f41d4f3ecaea115b0de --- tox.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 7372638..194e1cf 100644 --- a/tox.ini +++ b/tox.ini @@ -35,7 +35,8 @@ commands = python setup.py build_sphinx [flake8] # E125 continuation line does not distinguish itself from next logical line # H404 multi line docstring should start with a summary -ignore = E125,H404,E741,W504,E305 +# H216 The unittest.mock module should be used rather than the third party mock package unless actually needed. +ignore = E125,H404,E741,W504,E305,H216 show-source = true builtins = _ exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,tools,build,*openstack/common*