From d0818230796916628d9df3ff6024844ea85bcb63 Mon Sep 17 00:00:00 2001 From: Cai Hui Date: Sat, 6 Nov 2021 10:13:21 +0800 Subject: [PATCH] Fix flake8 error: H104 Fix flak8 error :H104 Change-Id: I05f26a3c10039b1ef85c7aca993f72e6c4ae65d8 --- freezerclient/tests/unit/test_utils.py | 4 ++++ tox.ini | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/freezerclient/tests/unit/test_utils.py b/freezerclient/tests/unit/test_utils.py index 6728e57..3ed69e8 100644 --- a/freezerclient/tests/unit/test_utils.py +++ b/freezerclient/tests/unit/test_utils.py @@ -11,3 +11,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. + + +def test_utils_todo(): + pass diff --git a/tox.ini b/tox.ini index dea68a8..c43a7d8 100644 --- a/tox.ini +++ b/tox.ini @@ -63,7 +63,7 @@ commands = pylint --rcfile .pylintrc freezerclient # H202 -> assertRaises(Exception, ...) too broad # H404 -> Multi line docstrings should start without a leading new line. # H405 -> Multi line docstrings should start with a one line summary followed by an empty line. -ignore = H104,H202,H404,H405 +ignore = H202,H404,H405 # H106: Don’t put vim configuration in source files # H203: Use assertIs(Not)None to check for None enable-extensions=H106,H203