From cfe220a746b7faff79a4cbd92afdae7b961fd727 Mon Sep 17 00:00:00 2001 From: Calen Pennington Date: Tue, 21 May 2013 13:07:04 -0400 Subject: [PATCH] Add exceptions for unused imports in settings files --- cms/envs/dev_with_worker.py | 4 ++++ lms/envs/dev_with_worker.py | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/cms/envs/dev_with_worker.py b/cms/envs/dev_with_worker.py index c5fc256ac9..078567c493 100644 --- a/cms/envs/dev_with_worker.py +++ b/cms/envs/dev_with_worker.py @@ -8,6 +8,10 @@ The worker can be executed using: django_admin.py celery worker """ +# We intentionally define lots of variables that aren't used, and +# want to import all variables from base settings files +# pylint: disable=W0401, W0614 + from dev import * ################################# CELERY ###################################### diff --git a/lms/envs/dev_with_worker.py b/lms/envs/dev_with_worker.py index c5fc256ac9..078567c493 100644 --- a/lms/envs/dev_with_worker.py +++ b/lms/envs/dev_with_worker.py @@ -8,6 +8,10 @@ The worker can be executed using: django_admin.py celery worker """ +# We intentionally define lots of variables that aren't used, and +# want to import all variables from base settings files +# pylint: disable=W0401, W0614 + from dev import * ################################# CELERY ######################################