From 3af9a549b3848439b13151e643b16ea24387e3f7 Mon Sep 17 00:00:00 2001 From: Jens Timmerman Date: Sun, 8 Nov 2020 15:35:15 +0100 Subject: [PATCH] don't care about unnecessary-pass, do care about invalid names --- .pylintrc | 2 +- inventory/tests.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.pylintrc b/.pylintrc index e0faac0..8f79755 100644 --- a/.pylintrc +++ b/.pylintrc @@ -5,7 +5,7 @@ load-plugins=pylint_django max-line-length=120 [MESSAGES CONTROL] -disable=missing-docstring,invalid-name +disable=missing-docstring,unnecessary-pass [DESIGN] max-parents=13 diff --git a/inventory/tests.py b/inventory/tests.py index 52c08d1..ad212ec 100644 --- a/inventory/tests.py +++ b/inventory/tests.py @@ -20,6 +20,6 @@ class InterFaceTestCase(TestCase): """Simple test case for the web interface""" def test_consume_view_exists(self): - c = Client() - response = c.get('/consume/') + client = Client() + response = client.get('/consume/') self.assertTrue("TODO" not in response)