From a8a0dc4aa6adea8e03b1847bbba42554f421499b Mon Sep 17 00:00:00 2001 From: Corey Shields Date: Sat, 13 Jul 2019 14:38:20 -0400 Subject: [PATCH] linting W0107 check_celery had an invalid pass, replaced that with a log entry. Signed-off-by: Corey Shields --- .pylintrc | 1 - db/base/tasks.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.pylintrc b/.pylintrc index f50164f..5ae892a 100644 --- a/.pylintrc +++ b/.pylintrc @@ -17,7 +17,6 @@ disable= R0914, R0915, R1705, - W0107, W0110, W0150, W0201, diff --git a/db/base/tasks.py b/db/base/tasks.py index bd344d6..a65eb77 100644 --- a/db/base/tasks.py +++ b/db/base/tasks.py @@ -25,7 +25,7 @@ LOGGER = logging.getLogger('db') @APP.task(task_ignore_result=False) def check_celery(): """Dummy celery task to check that everything runs smoothly.""" - pass + LOGGER.info('check_celery has been triggered') @APP.task